]> git.sur5r.net Git - openldap/commitdiff
Don't flush psearch queue in main search, let the qtask do it.
authorHoward Chu <hyc@openldap.org>
Tue, 4 Oct 2005 02:29:25 +0000 (02:29 +0000)
committerHoward Chu <hyc@openldap.org>
Tue, 4 Oct 2005 02:29:25 +0000 (02:29 +0000)
servers/slapd/overlays/syncprov.c

index b3951f01e074d3dfb7a45f06564c3ddcd06e1762..4316dd042d959d638a6864958ca9977a3b099426 100644 (file)
@@ -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 );