summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThirunarayanan Balathandayuthapani <thiru@mariadb.com>2021-10-26 15:57:54 +0530
committerThirunarayanan Balathandayuthapani <thiru@mariadb.com>2021-10-26 16:01:00 +0530
commit81b8547697f16215be52f4cc2515bcad8c142eaa (patch)
tree8f5f2b07b4154a2c31d7273121b23bb246188993
parentefedf3da68aa0c0a70e0686d9b92c9d0924df098 (diff)
downloadmariadb-git-81b8547697f16215be52f4cc2515bcad8c142eaa.tar.gz
MDEV-26902 Auxilary fts table evicts during DDLbb-10.2-thiru
MDEV-25702(commit 696de6d06c0eeaf7b20d5f89278ed7d62a9f204f) should've closed the fts table further. This patch closes the table after finishing the bulk insert operation.
-rw-r--r--storage/innobase/row/row0ftsort.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/storage/innobase/row/row0ftsort.cc b/storage/innobase/row/row0ftsort.cc
index c274c63182e..8a3f0243035 100644
--- a/storage/innobase/row/row0ftsort.cc
+++ b/storage/innobase/row/row0ftsort.cc
@@ -1788,8 +1788,6 @@ row_fts_merge_insert(
}
exit:
- dict_table_close(aux_table, FALSE, FALSE);
-
fts_sql_commit(trx);
trx->op_info = "";
@@ -1799,6 +1797,8 @@ exit:
error = ins_ctx.btr_bulk->finish(error);
UT_DELETE(ins_ctx.btr_bulk);
+ dict_table_close(aux_table, FALSE, FALSE);
+
trx_free_for_background(trx);
mem_heap_free(heap);