From d5823fa91249cf97eee1ae15917067c647b191cc Mon Sep 17 00:00:00 2001 From: Jong Hyuk Choi Date: Thu, 25 Sep 2003 07:48:53 +0000 Subject: [PATCH] no caching flag in Operation structure --- servers/slapd/slap.h | 1 + servers/slapd/syncrepl.c | 2 ++ 2 files changed, 3 insertions(+) diff --git a/servers/slapd/slap.h b/servers/slapd/slap.h index 0cee21b3dd..30465dffdd 100644 --- a/servers/slapd/slap.h +++ b/servers/slapd/slap.h @@ -1981,6 +1981,7 @@ typedef struct slap_op { ValuesReturnFilter *o_vrFilter; /* ValuesReturnFilter */ syncinfo_t* o_si; + int o_nocaching; #ifdef LDAP_SLAPI void *o_pb; /* NS-SLAPI plugin */ diff --git a/servers/slapd/syncrepl.c b/servers/slapd/syncrepl.c index 5a26cf46cd..360d574087 100644 --- a/servers/slapd/syncrepl.c +++ b/servers/slapd/syncrepl.c @@ -1114,7 +1114,9 @@ syncrepl_del_nonpresent( op->ors_filter = filter; ber_str2bv( si->filterstr, strlen( si->filterstr ), 1, &op->ors_filterstr ); + op->o_nocaching = 1; be->be_search( op, &rs ); + op->o_nocaching = 0; if ( !LDAP_LIST_EMPTY( &si->nonpresentlist ) ) { np_list = LDAP_LIST_FIRST( &si->nonpresentlist ); -- 2.39.5