mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
Bug#25830 SHOW TABLE STATUS behaves differently depending on table name(for 5.0 only)
replace wild_case_compare with my_wildcmp which is multibyte safe function mysql-test/r/lowercase_utf8.result: test result mysql-test/t/lowercase_utf8-master.opt: test case mysql-test/t/lowercase_utf8.test: test case sql/sql_show.cc: replace wild_case_compare with my_wildcmp which is multibyte safe function
This commit is contained in:
9
mysql-test/r/lowercase_utf8.result
Normal file
9
mysql-test/r/lowercase_utf8.result
Normal file
@ -0,0 +1,9 @@
|
||||
set names utf8;
|
||||
create table `А` (id int);
|
||||
show tables from test like 'А';
|
||||
Tables_in_test (А)
|
||||
а
|
||||
show tables from test like 'а';
|
||||
Tables_in_test (а)
|
||||
а
|
||||
drop table `А`;
|
4
mysql-test/t/lowercase_utf8-master.opt
Normal file
4
mysql-test/t/lowercase_utf8-master.opt
Normal file
@ -0,0 +1,4 @@
|
||||
--lower-case-table-names=1 --character-set-server=utf8
|
||||
|
||||
|
||||
|
9
mysql-test/t/lowercase_utf8.test
Normal file
9
mysql-test/t/lowercase_utf8.test
Normal file
@ -0,0 +1,9 @@
|
||||
#
|
||||
# Bug#25830 SHOW TABLE STATUS behaves differently depending on table name
|
||||
#
|
||||
set names utf8;
|
||||
create table `А` (id int);
|
||||
show tables from test like 'А';
|
||||
show tables from test like 'а';
|
||||
drop table `А`;
|
||||
|
Reference in New Issue
Block a user