From: Howard Chu Date: Sun, 21 Jan 2007 13:02:05 +0000 (+0000) Subject: Don't use ldap_pvt_thread_pool_context_reset(), it interferes with X-Git-Tag: OPENLDAP_REL_ENG_2_4_4ALPHA~8^2~167 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=67b08ebe7751b7e7fe9d05cbb4302b23a98b7594;p=openldap Don't use ldap_pvt_thread_pool_context_reset(), it interferes with dynamic adds. --- diff --git a/servers/slapd/overlays/dds.c b/servers/slapd/overlays/dds.c index 7ce339e8d8..80999f6381 100644 --- a/servers/slapd/overlays/dds.c +++ b/servers/slapd/overlays/dds.c @@ -1730,7 +1730,6 @@ dds_db_open( rc = entry_info_register( dds_entry_info, (void *)di ); done:; - ldap_pvt_thread_pool_context_reset( thrctx ); return rc; } diff --git a/servers/slapd/overlays/syncprov.c b/servers/slapd/overlays/syncprov.c index 2788202841..e6b4caeff7 100644 --- a/servers/slapd/overlays/syncprov.c +++ b/servers/slapd/overlays/syncprov.c @@ -2449,7 +2449,6 @@ syncprov_db_open( out: op->o_bd->bd_info = (BackendInfo *)on; - ldap_pvt_thread_pool_context_reset( thrctx ); return 0; } @@ -2479,7 +2478,6 @@ syncprov_db_close( op->o_dn = be->be_rootdn; op->o_ndn = be->be_rootndn; syncprov_checkpoint( op, &rs, on, &si->si_ctxcsn ); - ldap_pvt_thread_pool_context_reset( thrctx ); } return 0;