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_5_20~17 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=28f131b194a35254874b86448b3f80e6eb34c536;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; }