diff options
author | Thirunarayanan Balathandayuthapani <thiru@mariadb.com> | 2022-05-12 17:10:58 +0530 |
---|---|---|
committer | Thirunarayanan Balathandayuthapani <thiru@mariadb.com> | 2022-05-25 13:32:58 +0530 |
commit | 7fe474fe7e25cb503b585755c7e0a036e01e0df7 (patch) | |
tree | 1e4cf1eb14f9d164b8117fd0cd3c589eaf800bfa /storage/innobase | |
parent | 7d3d3838c1b8af98a9704120b79c481a4113b862 (diff) | |
download | mariadb-git-7fe474fe7e25cb503b585755c7e0a036e01e0df7.tar.gz |
MDEV-25257 SEGV in fts_get_next_doc_id upon some INSERT
- InnoDB fails to create a fts cache while loading the innodb fts
table which is stored in system tablespace. InnoDB should create
the fts cache while loading FTS_DOC_ID column from system column.
Diffstat (limited to 'storage/innobase')
-rw-r--r-- | storage/innobase/dict/dict0load.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/storage/innobase/dict/dict0load.cc b/storage/innobase/dict/dict0load.cc index 386b99bcaad..dade0c5b19e 100644 --- a/storage/innobase/dict/dict0load.cc +++ b/storage/innobase/dict/dict0load.cc @@ -1851,6 +1851,7 @@ dict_load_columns( the flag is set before the table is created. */ if (table->fts == NULL) { table->fts = fts_create(table); + table->fts->cache = fts_cache_create(table); fts_optimize_add_table(table); } |