]> git.sur5r.net Git - openldap/commitdiff
Don't use ldap_pvt_thread_pool_context_reset(), it interferes with
authorHoward Chu <hyc@openldap.org>
Sun, 21 Jan 2007 13:02:05 +0000 (13:02 +0000)
committerHoward Chu <hyc@openldap.org>
Sun, 21 Jan 2007 13:02:05 +0000 (13:02 +0000)
dynamic adds.

servers/slapd/overlays/dds.c
servers/slapd/overlays/syncprov.c

index 7ce339e8d891bca2836dd76705dfe867ad9b654a..80999f6381fc9a816ba9a20aaf6ed30c19f17ae9 100644 (file)
@@ -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;
 }
index 278820284197440477f27635b966d65cd42a6bf7..e6b4caeff7b6e29e02330ecd48b5f3236851cfb7 100644 (file)
@@ -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;