diff options
author | Thirunarayanan Balathandayuthapani <thiru@mariadb.com> | 2021-10-26 15:57:54 +0530 |
---|---|---|
committer | Thirunarayanan Balathandayuthapani <thiru@mariadb.com> | 2021-10-26 16:01:00 +0530 |
commit | 81b8547697f16215be52f4cc2515bcad8c142eaa (patch) | |
tree | 8f5f2b07b4154a2c31d7273121b23bb246188993 | |
parent | efedf3da68aa0c0a70e0686d9b92c9d0924df098 (diff) | |
download | mariadb-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.cc | 4 |
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); |