ITS#10270 slapo-pcache: negative cache entries are not loaded when pcachePersist is on

This commit is contained in:
Andrew Elble 2024-10-11 08:43:47 -04:00 committed by Howard Chu
parent 24d4dcb3d7
commit f00319b32c

View file

@ -802,7 +802,11 @@ url2query(
goto error;
}
if (BER_BVISNULL( &uuid )) {
cq = add_query( op, qm, &query, qt, PC_NEGATIVE, 0 );
} else {
cq = add_query( op, qm, &query, qt, PC_POSITIVE, 0 );
}
if ( cq != NULL ) {
cq->expiry_time = expiry_time;
cq->refresh_time = refresh_time;