From: Jong Hyuk Choi Date: Thu, 25 Sep 2003 07:48:53 +0000 (+0000) Subject: no caching flag in Operation structure X-Git-Tag: OPENLDAP_REL_ENG_2_1_MP~654 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=d5823fa91249cf97eee1ae15917067c647b191cc;p=openldap no caching flag in Operation structure --- 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 );