From: Jong Hyuk Choi Date: Fri, 30 May 2003 21:47:15 +0000 (+0000) Subject: base entry checking for refreshAndPersist as well X-Git-Tag: OPENLDAP_REL_ENG_2_2_0ALPHA~14 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=732f5501a9236ca1a5368ce01f316212aee1a95f;p=openldap base entry checking for refreshAndPersist as well --- diff --git a/servers/slapd/back-bdb/search.c b/servers/slapd/back-bdb/search.c index a810ce56e3..a4f2ef67bd 100644 --- a/servers/slapd/back-bdb/search.c +++ b/servers/slapd/back-bdb/search.c @@ -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: