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-Url: http://git.ipfire.org/?a=commitdiff_plain;h=24d4dcb3d7c8f86c8ddf4adde4b0ebd9e64ef82b;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 40c1f96737..9ef78fd6bf 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; }