mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
MDEV-6720 - enable connection log in mysqltest by default
This commit is contained in:
@ -40,20 +40,31 @@ select * from t3;
|
||||
drop table if exists t1,t2,t3,t4;
|
||||
Warnings:
|
||||
Note 1051 Unknown table 'test.t4'
|
||||
connect con1,localhost,root,,;
|
||||
connect con2,localhost,root,,;
|
||||
connection con1;
|
||||
CREATE TABLE t1 (a int);
|
||||
CREATE TABLE t3 (a int);
|
||||
connection con2;
|
||||
FLUSH TABLES WITH READ LOCK;
|
||||
connection con1;
|
||||
RENAME TABLE t1 TO t2, t3 to t4;
|
||||
connection con2;
|
||||
show tables;
|
||||
Tables_in_test
|
||||
t1
|
||||
t3
|
||||
UNLOCK TABLES;
|
||||
connection con1;
|
||||
connection con2;
|
||||
show tables;
|
||||
Tables_in_test
|
||||
t2
|
||||
t4
|
||||
drop table t2, t4;
|
||||
disconnect con2;
|
||||
disconnect con1;
|
||||
connection default;
|
||||
End of 4.1 tests
|
||||
#
|
||||
# Bug#14959: "ALTER TABLE isn't able to rename a view"
|
||||
|
Reference in New Issue
Block a user