]> git.sur5r.net Git - openldap/commitdiff
no caching flag in Operation structure
authorJong Hyuk Choi <jongchoi@openldap.org>
Thu, 25 Sep 2003 07:48:53 +0000 (07:48 +0000)
committerJong Hyuk Choi <jongchoi@openldap.org>
Thu, 25 Sep 2003 07:48:53 +0000 (07:48 +0000)
servers/slapd/slap.h
servers/slapd/syncrepl.c

index 0cee21b3ddf4c24ac262107701b79d09d93eb357..30465dffdd4ab2e90162ce0559dbcd5d531e6207 100644 (file)
@@ -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 */
index 5a26cf46cd34707845ee5587185cfc76c4c3eb75..360d5740872982be16a8a24741827907792eb148 100644 (file)
@@ -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 );