From: Andrew Elble Date: Fri, 11 Oct 2024 12:38:36 +0000 (-0400) Subject: ITS#10270 slapo-pcache: queries with ttr/x-refresh are not loaded when pcachePersist... X-Git-Tag: OPENLDAP_REL_ENG_2_6_10~27 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=d03a8e60e08163549e2c53d162e52003c224fe36;p=thirdparty%2Fopenldap.git ITS#10270 slapo-pcache: queries with ttr/x-refresh are not loaded when pcachePersist is on --- diff --git a/servers/slapd/overlays/pcache.c b/servers/slapd/overlays/pcache.c index 3df310e4c0..ef32c4521d 100644 --- a/servers/slapd/overlays/pcache.c +++ b/servers/slapd/overlays/pcache.c @@ -749,7 +749,7 @@ url2query( } } - if ( got != GOT_ALL ) { + if ( (got & GOT_ALL) != GOT_ALL) { rc = 1; goto error; }