mirror of
https://github.com/MariaDB/server.git
synced 2026-05-15 11:27:39 +02:00
MDEV-25702 Auxiliary FTS table evicts during optimize table
InnoDB could evict the fts auxiliary table in row_fts_merge_insert(). So bulk insert could be dealing with garbage FTS auxiliary table.Patch should delay closing the table in row_fts_merge_insert().
This commit is contained in:
parent
f345172379
commit
696de6d06c
1 changed files with 2 additions and 1 deletions
|
|
@ -1664,7 +1664,6 @@ row_fts_merge_insert(
|
|||
aux_table = dict_table_open_on_name(aux_table_name, FALSE, FALSE,
|
||||
DICT_ERR_IGNORE_NONE);
|
||||
ut_ad(aux_table != NULL);
|
||||
dict_table_close(aux_table, FALSE, FALSE);
|
||||
aux_index = dict_table_get_first_index(aux_table);
|
||||
|
||||
/* Create bulk load instance */
|
||||
|
|
@ -1789,6 +1788,8 @@ row_fts_merge_insert(
|
|||
}
|
||||
|
||||
exit:
|
||||
dict_table_close(aux_table, FALSE, FALSE);
|
||||
|
||||
fts_sql_commit(trx);
|
||||
|
||||
trx->op_info = "";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue