mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
MDEV-7408: Cannot use a table containing special chars for InnoDB stopwords
Added test case. No actual bug found.
This commit is contained in:
15
mysql-test/suite/innodb/t/innodb-mdev-7408.test
Normal file
15
mysql-test/suite/innodb/t/innodb-mdev-7408.test
Normal file
@ -0,0 +1,15 @@
|
||||
--source include/have_innodb.inc
|
||||
|
||||
select @@global.innodb_ft_server_stopword_table;
|
||||
CREATE TABLE `stop_it-IT` ENGINE = InnoDB SELECT * FROM information_schema.INNODB_FT_DEFAULT_STOPWORD;
|
||||
--error 1231
|
||||
SET @@global.innodb_ft_server_stopword_table = 'test/stop_it-IT';
|
||||
SET @@global.innodb_ft_server_stopword_table = 'test/stop_it@002dIT';
|
||||
drop table `stop_it-IT`;
|
||||
|
||||
CREATE TABLE stop_it ENGINE = InnoDB SELECT * FROM information_schema.INNODB_FT_DEFAULT_STOPWORD;
|
||||
SET @@global.innodb_ft_server_stopword_table = 'test/stop_it';
|
||||
|
||||
SET @@global.innodb_ft_server_stopword_table = NULL;
|
||||
|
||||
drop table stop_it;
|
Reference in New Issue
Block a user