Commit 46ea51ff authored by Sergei Golubchik's avatar Sergei Golubchik

tokudb post-merge compilation fixes

parent c6d30805
......@@ -7250,7 +7250,7 @@ cleanup:
int r = status_db->close(status_db, 0);
assert(r==0);
}
if (txn && do_commit) {
if (txn) {
if (error) {
abort_txn(txn);
}
......
......@@ -939,7 +939,7 @@ static int tokudb_discover3(handlerton *hton, THD* thd, const char *db, const ch
}
else {
do_commit = true;
error = txn_begin(db_env, 0, &txn, thd);
error = txn_begin(db_env, 0, &txn, 0, thd);
if (error) { goto cleanup; }
}
......
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