1
0
mirror of https://github.com/MariaDB/server.git synced 2025-12-24 11:21:21 +03:00

Fix 'CREATE TABLE ... LIKE ...' when lower_case_table_names

is set on case-sensitive file systems and the source table
was specified in something other than lowercase. (Bug #9761)
This commit is contained in:
jimw@mysql.com
2005-04-28 15:30:42 -07:00
parent 6f95cf02ab
commit 8ef6ae7442
3 changed files with 13 additions and 0 deletions

View File

@@ -73,4 +73,12 @@ select * from t1 c, t2 C;
select C.a, c.a from t1 c, t2 C;
drop table t1, t2;
#
# Bug #9761: CREATE TABLE ... LIKE ... not handled correctly when
# lower_case_table_names is set
create table t1 (a int);
create table t2 like T1;
drop table t1, t2;
show tables;