Skip to content

Commit

Permalink
MDEV-26902 Auxilary fts table evicts during DDL
Browse files Browse the repository at this point in the history
MDEV-25702(commit 696de6d) should've
closed the fts table further. This patch closes the table after
finishing the bulk insert operation.
  • Loading branch information
Thirunarayanan committed Oct 26, 2021
1 parent efedf3d commit 81b8547
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions storage/innobase/row/row0ftsort.cc
Original file line number Diff line number Diff line change
Expand Up @@ -1788,8 +1788,6 @@ row_fts_merge_insert(
}

exit:
dict_table_close(aux_table, FALSE, FALSE);

fts_sql_commit(trx);

trx->op_info = "";
Expand All @@ -1799,6 +1797,8 @@ row_fts_merge_insert(
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);
Expand Down

0 comments on commit 81b8547

Please sign in to comment.