mirror of
https://github.com/MariaDB/server.git
synced 2025-01-19 13:32:33 +01:00
18 lines
515 B
Text
18 lines
515 B
Text
source include/master-slave.inc;
|
|
create database mysqltest;
|
|
|
|
create table mysqltest.t1 ( n int);
|
|
alter table mysqltest.t1 add m int;
|
|
insert into mysqltest.t1 values (1,2);
|
|
create table mysqltest.t2 (n int);
|
|
insert into mysqltest.t2 values (45);
|
|
rename table mysqltest.t2 to mysqltest.t3, mysqltest.t1 to mysqltest.t2;
|
|
sync_slave_with_master;
|
|
select * from mysqltest.t2;
|
|
select * from mysqltest.t3;
|
|
connection master;
|
|
drop database mysqltest;
|
|
sync_slave_with_master;
|
|
|
|
# End of 4.1 tests
|
|
--source include/rpl_end.inc
|