mirror of
https://github.com/MariaDB/server.git
synced 2025-01-18 13:02:28 +01:00
458ced9f34
mysql-test/mysql-test-run.sh: Added --rpl option which tests all t/rpl*.test tests.
21 lines
465 B
Text
21 lines
465 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 d1;
|
|
create database d1;
|
|
create table d1.t1 ( n int);
|
|
alter table d1.t1 add m int;
|
|
insert into d1.t1 values (1,2);
|
|
create table d1.t2 (n int);
|
|
insert into d1.t2 values (45);
|
|
rename table d1.t2 to d1.t3, d1.t1 to d1.t2;
|
|
select * from d1.t2;
|
|
n m
|
|
1 2
|
|
select * from d1.t3;
|
|
n
|
|
45
|
|
drop database d1;
|