]> git.ipfire.org Git - thirdparty/openldap.git/commitdiff
ITS#10270 slapo-pcache: queries with ttr/x-refresh are not loaded when pcachePersist...
authorAndrew Elble <aweits@rit.edu>
Fri, 11 Oct 2024 12:38:36 +0000 (08:38 -0400)
committerQuanah Gibson-Mount <quanah@openldap.org>
Tue, 6 May 2025 15:19:45 +0000 (15:19 +0000)
servers/slapd/overlays/pcache.c

index 3df310e4c07605f922c8c40cd2bb1ab902f2c2ca..ef32c4521dcf64a36c1ee50acec915433166483f 100644 (file)
@@ -749,7 +749,7 @@ url2query(
                }
        }
 
-       if ( got != GOT_ALL ) {
+       if ( (got & GOT_ALL) != GOT_ALL) {
                rc = 1;
                goto error;
        }