mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-26 17:49:59 -05:00
Better fix for prev commit
This commit is contained in:
parent
d852de5ce4
commit
fc0418db8f
1 changed files with 6 additions and 0 deletions
|
|
@ -2411,6 +2411,12 @@ pcache_op_search(
|
|||
send_ldap_result( op, rs );
|
||||
} else {
|
||||
op->o_bd = &cm->db;
|
||||
if ( cm->response_cb == PCACHE_RESPONSE_CB_TAIL ) {
|
||||
/* The cached entry was already processed by any
|
||||
* other overlays, so don't let it get processed again.
|
||||
*/
|
||||
op->o_callback = NULL;
|
||||
}
|
||||
i = cm->db.bd_info->bi_op_search( op, rs );
|
||||
}
|
||||
ldap_pvt_thread_rdwr_runlock(&answerable->rwlock);
|
||||
|
|
|
|||
Loading…
Reference in a new issue