Loading mysql-test/r/lowercase_table2.result +11 −1 Original line number Diff line number Diff line DROP TABLE IF EXISTS t1,t2,T1,T2,t3,T3; DROP TABLE IF EXISTS t1,t2,T1,T2,t3,T3,tT; DROP DATABASE IF EXISTS `TEST_$1`; DROP DATABASE IF EXISTS `test_$1`; CREATE TABLE T1 (a int); Loading Loading @@ -131,3 +131,13 @@ show tables like 't1%'; Tables_in_test (t1%) t1 drop table t1; create temporary table tT(a int(11), b varchar(8)); insert into tT values (1, 'abc'); select * from tT; a b 1 abc alter table tT add index (a); select * from tT; a b 1 abc drop table tT; mysql-test/t/lowercase_table2.test +12 −1 Original line number Diff line number Diff line Loading @@ -10,7 +10,7 @@ show variables like "lower_case_table_names"; enable_query_log; --disable_warnings DROP TABLE IF EXISTS t1,t2,T1,T2,t3,T3; DROP TABLE IF EXISTS t1,t2,T1,T2,t3,T3,tT; DROP DATABASE IF EXISTS `TEST_$1`; DROP DATABASE IF EXISTS `test_$1`; --enable_warnings Loading Loading @@ -100,3 +100,14 @@ show tables like 'T1%'; alter table t1 add index (A); show tables like 't1%'; drop table t1; # # Bug #7261: Alter table loses temp table # create temporary table tT(a int(11), b varchar(8)); insert into tT values (1, 'abc'); select * from tT; alter table tT add index (a); select * from tT; drop table tT; Loading
mysql-test/r/lowercase_table2.result +11 −1 Original line number Diff line number Diff line DROP TABLE IF EXISTS t1,t2,T1,T2,t3,T3; DROP TABLE IF EXISTS t1,t2,T1,T2,t3,T3,tT; DROP DATABASE IF EXISTS `TEST_$1`; DROP DATABASE IF EXISTS `test_$1`; CREATE TABLE T1 (a int); Loading Loading @@ -131,3 +131,13 @@ show tables like 't1%'; Tables_in_test (t1%) t1 drop table t1; create temporary table tT(a int(11), b varchar(8)); insert into tT values (1, 'abc'); select * from tT; a b 1 abc alter table tT add index (a); select * from tT; a b 1 abc drop table tT;
mysql-test/t/lowercase_table2.test +12 −1 Original line number Diff line number Diff line Loading @@ -10,7 +10,7 @@ show variables like "lower_case_table_names"; enable_query_log; --disable_warnings DROP TABLE IF EXISTS t1,t2,T1,T2,t3,T3; DROP TABLE IF EXISTS t1,t2,T1,T2,t3,T3,tT; DROP DATABASE IF EXISTS `TEST_$1`; DROP DATABASE IF EXISTS `test_$1`; --enable_warnings Loading Loading @@ -100,3 +100,14 @@ show tables like 'T1%'; alter table t1 add index (A); show tables like 't1%'; drop table t1; # # Bug #7261: Alter table loses temp table # create temporary table tT(a int(11), b varchar(8)); insert into tT values (1, 'abc'); select * from tT; alter table tT add index (a); select * from tT; drop table tT;