From: Howard Chu Date: Thu, 16 Feb 2006 08:16:49 +0000 (+0000) Subject: ITS#4406 don't cache attrsonly results X-Git-Tag: OPENLDAP_REL_ENG_2_4_BP~179 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=e18a6ab7f9f0bc428fe1a5c1d1d187dcacb7f5ee;p=openldap ITS#4406 don't cache attrsonly results --- diff --git a/servers/slapd/overlays/pcache.c b/servers/slapd/overlays/pcache.c index b34a088bd7..7eef3c5d2a 100644 --- a/servers/slapd/overlays/pcache.c +++ b/servers/slapd/overlays/pcache.c @@ -1301,6 +1301,9 @@ pcache_op_search( } ldap_pvt_thread_mutex_unlock(&cm->cache_mutex); + if (op->ors_attrsonly) + cacheable = 0; + if (cacheable) { slap_callback *cb; struct search_info *si;