mirror of
https://github.com/MariaDB/server.git
synced 2025-07-27 18:02:13 +03:00
MDEV-24403 Segfault on CREATE TABLE with explicit FTS_DOC_ID_INDEX by multiple fields
Ignore table->fts freed previously by create_table_info_t::create_table().
This commit is contained in:
@ -182,3 +182,13 @@ Table Op Msg_type Msg_text
|
||||
test.t1 optimize status OK
|
||||
DROP TABLE t1;
|
||||
SET GLOBAL innodb_optimize_fulltext_only= @optimize_fulltext.save;
|
||||
#
|
||||
# MDEV-24403 Segfault on CREATE TABLE with explicit FTS_DOC_ID_INDEX by multiple fields
|
||||
#
|
||||
create table t1 (
|
||||
f1 int, f2 text,
|
||||
FTS_DOC_ID bigint unsigned not null,
|
||||
unique key FTS_DOC_ID_INDEX(FTS_DOC_ID, f1),
|
||||
fulltext (f2))
|
||||
engine=innodb;
|
||||
ERROR 42000: Incorrect index name 'FTS_DOC_ID_INDEX'
|
||||
|
Reference in New Issue
Block a user