From 732f5501a9236ca1a5368ce01f316212aee1a95f Mon Sep 17 00:00:00 2001 From: Jong Hyuk Choi Date: Fri, 30 May 2003 21:47:15 +0000 Subject: [PATCH] base entry checking for refreshAndPersist as well --- servers/slapd/back-bdb/search.c | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) 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: -- 2.39.5