mirror of
https://github.com/MariaDB/server.git
synced 2025-01-22 14:54:20 +01:00
Closes #1098
Reduce overhead of subtransactions git-svn-id: file:///svn/tokudb@5674 c7de825b-a66e-492c-adef-691d508d4ae1
This commit is contained in:
parent
bcacaae98e
commit
4811a42042
1 changed files with 1 additions and 1 deletions
|
@ -1037,7 +1037,7 @@ static int toku_txn_begin(DB_ENV *env, DB_TXN * stxn, DB_TXN ** txn, u_int32_t f
|
|||
memset(result->i, 0, sizeof *result->i);
|
||||
|
||||
int r;
|
||||
if (env->i->open_flags & DB_INIT_LOCK) {
|
||||
if (env->i->open_flags & DB_INIT_LOCK && !stxn) {
|
||||
r = toku_lth_create(&result->i->lth,
|
||||
toku_malloc, toku_free, toku_realloc);
|
||||
if (r!=0) {
|
||||
|
|
Loading…
Add table
Reference in a new issue