This commit is contained in:
Luke Howard 2003-01-24 05:57:20 +00:00
parent 7f189a15f7
commit 562b7fb8d9
2 changed files with 2 additions and 7 deletions

View File

@ -174,12 +174,7 @@ fakeConnection(
c->c_pending_ops.stqh_first->o_authmech.bv_len = 0;
c->c_pending_ops.stqh_first->o_time = slap_get_time();
c->c_pending_ops.stqh_first->o_do_not_cache = 1;
/*
* XXX this needs to be set otherwise back-bdb goes
* into an infinite loop.
*/
c->c_pending_ops.stqh_first->o_threadctx = NULL;
c->c_pending_ops.stqh_first->o_threadctx = ldap_pvt_thread_pool_getcontext( &connection_pool );
/* connection object */
c->c_authmech.bv_val = NULL;

View File

@ -2975,7 +2975,7 @@ int slapi_notify_condvar( Slapi_CondVar *cvar, int notify_all )
}
if ( notify_all ) {
return ldap_pvt_thread_cond_braodcast( &cvar->cond );
return ldap_pvt_thread_cond_broadcast( &cvar->cond );
}
return ldap_pvt_thread_cond_signal( &cvar->cond );