From: Howard Chu Date: Tue, 4 Oct 2005 02:29:25 +0000 (+0000) Subject: Don't flush psearch queue in main search, let the qtask do it. X-Git-Tag: OPENLDAP_REL_ENG_2_2_MP~327 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=0f69daacac0c856e698f058bc22e1061ff4fe768;p=openldap Don't flush psearch queue in main search, let the qtask do it. --- diff --git a/servers/slapd/overlays/syncprov.c b/servers/slapd/overlays/syncprov.c index b3951f01e0..4316dd042d 100644 --- a/servers/slapd/overlays/syncprov.c +++ b/servers/slapd/overlays/syncprov.c @@ -1815,13 +1815,6 @@ syncprov_search_response( Operation *op, SlapReply *rs ) syncprov_sendinfo( op, rs, ( ss->ss_present && rs->sr_nentries ) ? LDAP_TAG_SYNC_REFRESH_PRESENT : LDAP_TAG_SYNC_REFRESH_DELETE, &cookie, 1, NULL, 0 ); - /* Flush any queued persist messages */ - if ( ss->ss_so->s_res ) { - slap_callback *sc = op->o_callback; - op->o_callback = NULL; - syncprov_qplay( op, on, ss->ss_so ); - op->o_callback = sc; - } /* Detach this Op from frontend control */ ldap_pvt_thread_mutex_lock( &ss->ss_so->s_mutex );