mirror of
https://github.com/MariaDB/server.git
synced 2025-01-17 20:42:30 +01:00
7b39b01b9a
mysql-test/r/ctype_cp932.result: Remove first event to make things portable mysql-test/r/rpl_drop_db.result: Use 'mysqltest' as database instead of 'd1' Made test faster by using longer table names instead of lots of tables mysql-test/t/ctype_cp932.test: Remove first event to make things portable mysql-test/t/rpl_drop_db.test: Use 'mysqltest' as database instead of 'd1' Made test faster by using longer table names instead of lots of tables sql/sql_db.cc: Indentation & style fixes Simple optimization (remove constant and boolean variable)
35 lines
907 B
Text
35 lines
907 B
Text
stop slave;
|
|
drop table if exists t1,t2,t3,t4,t5,t6,t7,t8,t9;
|
|
reset master;
|
|
reset slave;
|
|
drop table if exists t1,t2,t3,t4,t5,t6,t7,t8,t9;
|
|
start slave;
|
|
drop database if exists mysqltest1;
|
|
create database mysqltest1;
|
|
create table mysqltest1.t1 (n int);
|
|
insert into mysqltest1.t1 values (1);
|
|
select * from mysqltest1.t1 into outfile 'mysqltest1/f1.txt';
|
|
create table mysqltest1.t2 (n int);
|
|
create table mysqltest1.t3 (n int);
|
|
drop database mysqltest1;
|
|
ERROR HY000: Error dropping database (can't rmdir './mysqltest1/', errno: 17)
|
|
use mysqltest1;
|
|
show tables;
|
|
Tables_in_mysqltest1
|
|
drop database mysqltest1;
|
|
ERROR HY000: Error dropping database (can't rmdir './mysqltest1/', errno: 17)
|
|
use mysqltest1;
|
|
show tables;
|
|
Tables_in_mysqltest1
|
|
use test;
|
|
create table t1 (n int);
|
|
insert into t1 values (1234);
|
|
use mysqltest1;
|
|
show tables;
|
|
Tables_in_mysqltest1
|
|
use test;
|
|
select * from t1;
|
|
n
|
|
1234
|
|
drop table t1;
|
|
stop slave;
|