mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-01-24 13:24:56 +08:00
ITS#3153 only cache queries with at least one entry
This commit is contained in:
parent
464866d57b
commit
73fa8b7dd9
@ -1224,7 +1224,7 @@ proxy_cache_response(
|
||||
si->tail = NULL;
|
||||
}
|
||||
}
|
||||
} else if ( rs->sr_type == REP_RESULT && !si->over ) {
|
||||
} else if ( rs->sr_type == REP_RESULT && si->count ) {
|
||||
if ( cache_entries( op, rs, &uuid ) == 0) {
|
||||
qm->addfunc(qm, &si->query, si->template_id, &uuid);
|
||||
/* If the consistency checker suspended itself,
|
||||
|
Loading…
Reference in New Issue
Block a user