From e18a6ab7f9f0bc428fe1a5c1d1d187dcacb7f5ee Mon Sep 17 00:00:00 2001 From: Howard Chu Date: Thu, 16 Feb 2006 08:16:49 +0000 Subject: [PATCH] ITS#4406 don't cache attrsonly results --- servers/slapd/overlays/pcache.c | 3 +++ 1 file changed, 3 insertions(+) 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; -- 2.39.5