]> git.sur5r.net Git - openldap/commitdiff
base entry checking for refreshAndPersist as well
authorJong Hyuk Choi <jongchoi@openldap.org>
Fri, 30 May 2003 21:47:15 +0000 (21:47 +0000)
committerJong Hyuk Choi <jongchoi@openldap.org>
Fri, 30 May 2003 21:47:15 +0000 (21:47 +0000)
servers/slapd/back-bdb/search.c

index a810ce56e399dfad5db0c15b0494a7296d4394f5..a4f2ef67bd2a3e8720203c4fedf7ed027d6377e4 100644 (file)
@@ -513,16 +513,7 @@ dn2entry_retry:
 
        switch(rs->sr_err) {
        case DB_NOTFOUND:
-               if ( sop->o_sync_mode & SLAP_SYNC_PERSIST ) {
-                       rs->sr_err = LDAP_SUCCESS;
-                       rs->sr_rspoid = LDAP_SYNC_INFO;
-                       rs->sr_ctrls = NULL;
-                       bdb_send_ldap_intermediate( sop, rs,
-                                       LDAP_SYNC_REFRESH_DONE, &latest_entrycsn_bv );
-                       goto done;
-               } else {
-                       matched = ei->bei_e; break;
-               }
+               matched = ei->bei_e; break;
        case 0:
                e = ei->bei_e; break;
        case LDAP_BUSY: