mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-01-06 10:46:21 +08:00
Fix for non-thread run
This commit is contained in:
parent
3c50386b88
commit
214d3b26c1
@ -1181,7 +1181,7 @@ bdb_txn_get( Operation *op, DB_ENV *env, DB_TXN **txn )
|
||||
/* Shouldn't happen unless we're single-threaded */
|
||||
if ( !ctx ) {
|
||||
*txn = NULL;
|
||||
return -1;
|
||||
return 0;
|
||||
}
|
||||
|
||||
if ( ldap_pvt_thread_pool_getkey( ctx, ((char *)env)+1, &data, NULL ) ) {
|
||||
|
Loading…
Reference in New Issue
Block a user