Commit 2ea43f15 authored by Yoni Fogel's avatar Yoni Fogel

[t:5103] Fix tests that don't provide a txn for logging commits/aborts/prepares

git-svn-id: file:///svn/toku/tokudb@44745 c7de825b-a66e-492c-adef-691d508d4ae1
parent db5c1b9a
...@@ -408,7 +408,7 @@ generate_log_writer (void) { ...@@ -408,7 +408,7 @@ generate_log_writer (void) {
break; break;
} }
case ASSERT_BEGIN_WAS_LOGGED: { case ASSERT_BEGIN_WAS_LOGGED: {
fprintf(cf, " invariant(txn->begin_was_logged);\n"); fprintf(cf, " invariant(!txn || txn->begin_was_logged);\n");
break; break;
} }
case IGNORE_LOG_BEGIN: break; case IGNORE_LOG_BEGIN: break;
......
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