mirror of
https://github.com/MariaDB/server.git
synced 2025-01-17 04:22:27 +01:00
tokudb post-merge compilation fixes
This commit is contained in:
parent
c6d30805db
commit
46ea51ff77
2 changed files with 2 additions and 2 deletions
|
@ -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; }
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue