Commit 9a9b3f28 authored by unknown's avatar unknown

Merge rkalimullin@bk-internal.mysql.com:/home/bk/mysql-4.1

into gw.mysql.r18.ru:/usr/home/ram/work/4.1.b7261

parents 513a70a3 21bc76b9
DROP TABLE IF EXISTS t1,t2,T1,T2,t3,T3,tT; DROP TABLE IF EXISTS t1,t2,T1,T2,t3,T3;
DROP DATABASE IF EXISTS `TEST_$1`; DROP DATABASE IF EXISTS `TEST_$1`;
DROP DATABASE IF EXISTS `test_$1`; DROP DATABASE IF EXISTS `test_$1`;
CREATE TABLE T1 (a int); CREATE TABLE T1 (a int);
...@@ -131,13 +131,13 @@ show tables like 't1%'; ...@@ -131,13 +131,13 @@ show tables like 't1%';
Tables_in_test (t1%) Tables_in_test (t1%)
t1 t1
drop table t1; drop table t1;
create temporary table tT(a int(11), b varchar(8)); create temporary table T1(a int(11), b varchar(8));
insert into tT values (1, 'abc'); insert into T1 values (1, 'abc');
select * from tT; select * from T1;
a b a b
1 abc 1 abc
alter table tT add index (a); alter table T1 add index (a);
select * from tT; select * from T1;
a b a b
1 abc 1 abc
drop table tT; drop table T1;
...@@ -10,7 +10,7 @@ show variables like "lower_case_table_names"; ...@@ -10,7 +10,7 @@ show variables like "lower_case_table_names";
enable_query_log; enable_query_log;
--disable_warnings --disable_warnings
DROP TABLE IF EXISTS t1,t2,T1,T2,t3,T3,tT; DROP TABLE IF EXISTS t1,t2,T1,T2,t3,T3;
DROP DATABASE IF EXISTS `TEST_$1`; DROP DATABASE IF EXISTS `TEST_$1`;
DROP DATABASE IF EXISTS `test_$1`; DROP DATABASE IF EXISTS `test_$1`;
--enable_warnings --enable_warnings
...@@ -105,9 +105,9 @@ drop table t1; ...@@ -105,9 +105,9 @@ drop table t1;
# Bug #7261: Alter table loses temp table # Bug #7261: Alter table loses temp table
# #
create temporary table tT(a int(11), b varchar(8)); create temporary table T1(a int(11), b varchar(8));
insert into tT values (1, 'abc'); insert into T1 values (1, 'abc');
select * from tT; select * from T1;
alter table tT add index (a); alter table T1 add index (a);
select * from tT; select * from T1;
drop table tT; drop table T1;
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment