mirror of
https://github.com/MariaDB/server.git
synced 2025-01-26 00:34:18 +01:00
22 lines
706 B
Text
22 lines
706 B
Text
include/master-slave.inc
|
|
[connection master]
|
|
call mtr.add_suppression("Unsafe statement written to the binary log using statement format since BINLOG_FORMAT = STATEMENT");
|
|
call mtr.add_suppression("table or database name 'mysqltest-1'");
|
|
connection master;
|
|
DROP DATABASE IF EXISTS `#mysql50#mysqltest-1`;
|
|
CREATE DATABASE `#mysql50#mysqltest-1`;
|
|
connection slave;
|
|
connection master;
|
|
connection slave;
|
|
connection master;
|
|
Master position is not changed
|
|
connection slave;
|
|
STOP SLAVE SQL_THREAD;
|
|
include/wait_for_slave_sql_to_stop.inc
|
|
connection master;
|
|
connection master;
|
|
Master position has been changed
|
|
DROP DATABASE `mysqltest-1`;
|
|
connection slave;
|
|
DROP DATABASE `#mysql50#mysqltest-1`;
|
|
include/rpl_end.inc
|