1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-30 16:24:05 +03:00

after merge fix

This commit is contained in:
serg@serg.mylan
2004-06-27 13:16:19 +02:00
parent f941f842c3
commit cb188a89c1
3 changed files with 5 additions and 5 deletions

View File

@ -32,7 +32,7 @@ T1
ALTER TABLE T1 add b int; ALTER TABLE T1 add b int;
SHOW TABLES LIKE "T1"; SHOW TABLES LIKE "T1";
Tables_in_test (T1) Tables_in_test (T1)
t1 T1
ALTER TABLE T1 RENAME T2; ALTER TABLE T1 RENAME T2;
SHOW TABLES LIKE "T2"; SHOW TABLES LIKE "T2";
Tables_in_test (T2) Tables_in_test (T2)
@ -41,7 +41,7 @@ LOCK TABLE T2 WRITE;
ALTER TABLE T2 drop b; ALTER TABLE T2 drop b;
SHOW TABLES LIKE "T2"; SHOW TABLES LIKE "T2";
Tables_in_test (T2) Tables_in_test (T2)
t2 T2
UNLOCK TABLES; UNLOCK TABLES;
RENAME TABLE T2 TO T1; RENAME TABLE T2 TO T1;
SHOW TABLES LIKE "T1"; SHOW TABLES LIKE "T1";

View File

@ -4,7 +4,7 @@ SELECT * from T1;
a a
drop table t1; drop table t1;
flush tables; flush tables;
CREATE TABLE t1 (a int) type=INNODB; CREATE TABLE t1 (a int) ENGINE=INNODB;
SELECT * from T1; SELECT * from T1;
Can't open file: 'T1.InnoDB'. (errno: 1) ERROR HY000: Can't open file: 'T1.InnoDB'. (errno: 1)
drop table t1; drop table t1;

View File

@ -31,7 +31,7 @@ flush tables;
# storing things in lower case. # storing things in lower case.
# #
CREATE TABLE t1 (a int) type=INNODB; CREATE TABLE t1 (a int) ENGINE=INNODB;
--error 1016 --error 1016
SELECT * from T1; SELECT * from T1;
drop table t1; drop table t1;