]> 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)
committerHoward Chu <hyc@openldap.org>
Thu, 27 Mar 2025 14:59:29 +0000 (14:59 +0000)
servers/slapd/overlays/pcache.c

index 40c1f9673776a6e34b656bb014ee840a4b119420..9ef78fd6bf43bcf32228cd5de7d8afb61cb34582 100644 (file)
@@ -749,7 +749,7 @@ url2query(
                }
        }
 
-       if ( got != GOT_ALL ) {
+       if ( (got & GOT_ALL) != GOT_ALL) {
                rc = 1;
                goto error;
        }