1
0
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:
Sergey Glukhov
2009-02-17 18:22:48 +04:00
parent e1a197caba
commit 544fa7593b
4 changed files with 36 additions and 4 deletions

View 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 `А`;

View File

@ -0,0 +1,4 @@
--lower-case-table-names=1 --character-set-server=utf8

View 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 `А`;