mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-25 09:09:54 -05:00
ITS#3153 only cache queries with at least one entry
This commit is contained in:
parent
464866d57b
commit
73fa8b7dd9
1 changed files with 1 additions and 1 deletions
|
|
@ -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 a new issue