Skip to content
Snippets Groups Projects
Commit 214d3b26 authored by Howard Chu's avatar Howard Chu
Browse files

Fix for non-thread run

parent 3c50386b
No related branches found
No related tags found
No related merge requests found
......@@ -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 ) ) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment