MDEV-26902 Auxilary fts table evicts during DDL

MDEV-25702(commit 696de6d0) should've
closed the fts table further. This patch closes the table after
finishing the bulk insert operation.
parent efedf3da
...@@ -1788,8 +1788,6 @@ row_fts_merge_insert( ...@@ -1788,8 +1788,6 @@ row_fts_merge_insert(
} }
exit: exit:
dict_table_close(aux_table, FALSE, FALSE);
fts_sql_commit(trx); fts_sql_commit(trx);
trx->op_info = ""; trx->op_info = "";
...@@ -1799,6 +1797,8 @@ row_fts_merge_insert( ...@@ -1799,6 +1797,8 @@ row_fts_merge_insert(
error = ins_ctx.btr_bulk->finish(error); error = ins_ctx.btr_bulk->finish(error);
UT_DELETE(ins_ctx.btr_bulk); UT_DELETE(ins_ctx.btr_bulk);
dict_table_close(aux_table, FALSE, FALSE);
trx_free_for_background(trx); trx_free_for_background(trx);
mem_heap_free(heap); mem_heap_free(heap);
......
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