Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
mariadb
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
mariadb
Commits
2fb81b95
Commit
2fb81b95
authored
Feb 18, 2015
by
Jan Lindström
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
MDEV-7408: Cannot use a table containing special chars for InnoDB stopwords
Added test case. No actual bug found.
parent
63905f14
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
29 additions
and
0 deletions
+29
-0
mysql-test/suite/innodb/r/innodb-mdev-7408.result
mysql-test/suite/innodb/r/innodb-mdev-7408.result
+12
-0
mysql-test/suite/innodb/t/innodb-mdev-7408.opt
mysql-test/suite/innodb/t/innodb-mdev-7408.opt
+2
-0
mysql-test/suite/innodb/t/innodb-mdev-7408.test
mysql-test/suite/innodb/t/innodb-mdev-7408.test
+15
-0
No files found.
mysql-test/suite/innodb/r/innodb-mdev-7408.result
0 → 100644
View file @
2fb81b95
select @@global.innodb_ft_server_stopword_table;
@@global.innodb_ft_server_stopword_table
NULL
CREATE TABLE `stop_it-IT` ENGINE = InnoDB SELECT * FROM information_schema.INNODB_FT_DEFAULT_STOPWORD;
SET @@global.innodb_ft_server_stopword_table = 'test/stop_it-IT';
ERROR 42000: Variable 'innodb_ft_server_stopword_table' can't be set to the value of '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;
mysql-test/suite/innodb/t/innodb-mdev-7408.opt
0 → 100644
View file @
2fb81b95
--innodb_ft_default_stopword
mysql-test/suite/innodb/t/innodb-mdev-7408.test
0 → 100644
View file @
2fb81b95
--
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
;
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment