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

tokudb post-merge compilation fixes

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