From 67b08ebe7751b7e7fe9d05cbb4302b23a98b7594 Mon Sep 17 00:00:00 2001 From: Howard Chu Date: Sun, 21 Jan 2007 13:02:05 +0000 Subject: [PATCH] Don't use ldap_pvt_thread_pool_context_reset(), it interferes with dynamic adds. --- servers/slapd/overlays/dds.c | 1 - servers/slapd/overlays/syncprov.c | 2 -- 2 files changed, 3 deletions(-) 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; -- 2.39.5