Commit a48828aa authored by Zardosht Kasheff's avatar Zardosht Kasheff Committed by Yoni Fogel

[t:2045], fix bug

git-svn-id: file:///svn/mysql/tokudb-engine/src@14779 c7de825b-a66e-492c-adef-691d508d4ae1
parent fc70b46b
...@@ -458,9 +458,15 @@ static int tokudb_rollback(handlerton * hton, THD * thd, bool all) { ...@@ -458,9 +458,15 @@ static int tokudb_rollback(handlerton * hton, THD * thd, bool all) {
if (*txn == trx->sp_level) if (*txn == trx->sp_level)
trx->sp_level = 0; trx->sp_level = 0;
*txn = 0; *txn = 0;
} else }
if (tokudb_debug & TOKUDB_DEBUG_TXN) else {
if (tokudb_debug & TOKUDB_DEBUG_TXN) {
TOKUDB_TRACE("abort0\n"); TOKUDB_TRACE("abort0\n");
}
}
if (all) {
trx->iso_level = hatoku_iso_not_set;
}
TOKUDB_DBUG_RETURN(error); TOKUDB_DBUG_RETURN(error);
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment