mirror of
https://github.com/MariaDB/server.git
synced 2025-01-17 12:32:27 +01:00
20 lines
425 B
Text
20 lines
425 B
Text
|
source include/master-slave.inc;
|
||
|
--disable_warnings
|
||
|
drop database if exists mysqltest1;
|
||
|
--enable_warnings
|
||
|
create database mysqltest1;
|
||
|
|
||
|
use mysqltest1;
|
||
|
create table t1 (a int);
|
||
|
insert into t1 values(9);
|
||
|
select * from mysqltest1.t1;
|
||
|
sync_slave_with_master;
|
||
|
show databases like 'mysqltest1'; # should be empty
|
||
|
select * from test.t1;
|
||
|
# cleanup
|
||
|
connection master;
|
||
|
drop table t1;
|
||
|
drop database mysqltest1;
|
||
|
sync_slave_with_master;
|
||
|
|