1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
drop table if exists t1,t2;
show tables;
Tables_in_mysql
show tables;
Tables_in_test
connect(localhost,root,z,test2,MASTER_PORT,);
ERROR 42000: Unknown schema 'test2'
show tables;
Tables_in_mysql
show tables;
Tables_in_test
connect(localhost,test,,test2,MASTER_PORT,);
ERROR 42000: Unknown schema 'test2'
connect(localhost,test,,"",MASTER_PORT,);
ERROR 42000: Unknown schema '""'
connect(localhost,test,zorro,test2,MASTER_PORT,);
ERROR 42000: Unknown schema 'test2'
connect(localhost,test,,test2,MASTER_PORT,);
ERROR 42000: Unknown schema 'test2'
connect(localhost,test,zorro,test2,MASTER_PORT,);
ERROR 42000: Unknown schema 'test2'
create table t1 (id integer not null auto_increment primary key);
create temporary table t2(id integer not null auto_increment primary key);
set @id := 1;
delete from t1 where id like @id;
drop table t1;
# ------------------------------------------------------------------
# -- End of 4.1 tests
# ------------------------------------------------------------------
# ------------------------------------------------------------------
# -- End of 5.1 tests
# ------------------------------------------------------------------
|