summaryrefslogtreecommitdiff
path: root/storage/innobase/dict/dict0load.cc
diff options
context:
space:
mode:
authorSergey Vojtovich <svoj@mariadb.org>2018-03-30 15:10:40 +0400
committerSergey Vojtovich <svoj@mariadb.org>2018-04-04 14:09:37 +0400
commit3d5f7ad23ad71ab3a79a753f4c9d04d34c92f411 (patch)
tree3b8305cdd76381ec248f12352e59800ee0b7359a /storage/innobase/dict/dict0load.cc
parent0993d6b81b6cf7a5fc0710d99e962a8271018b9d (diff)
downloadmariadb-git-3d5f7ad23ad71ab3a79a753f4c9d04d34c92f411.tar.gz
MDEV-15773 - Simplified away trx_free_for_(mysql|background)
Diffstat (limited to 'storage/innobase/dict/dict0load.cc')
-rw-r--r--storage/innobase/dict/dict0load.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/storage/innobase/dict/dict0load.cc b/storage/innobase/dict/dict0load.cc
index 517b9019524..c82dffd36b2 100644
--- a/storage/innobase/dict/dict0load.cc
+++ b/storage/innobase/dict/dict0load.cc
@@ -914,7 +914,7 @@ dict_update_filepath(
trx_commit_for_mysql(trx);
trx->dict_operation_lock_mode = 0;
- trx_free_for_background(trx);
+ trx_free(trx);
if (err == DB_SUCCESS) {
/* We just updated SYS_DATAFILES due to the contents in
@@ -976,7 +976,7 @@ dict_replace_tablespace_and_filepath(
trx_commit_for_mysql(trx);
trx->dict_operation_lock_mode = 0;
- trx_free_for_background(trx);
+ trx_free(trx);
return(err);
}