mirror of
https://github.com/MariaDB/server.git
synced 2025-02-05 13:22:17 +01:00
20 lines
579 B
Text
20 lines
579 B
Text
include/master-slave.inc
|
|
[connection master]
|
|
==== Initialize ====
|
|
connection slave;
|
|
include/stop_slave.inc
|
|
RESET SLAVE;
|
|
include/setup_fake_relay_log.inc
|
|
Setting up fake replication from MYSQL_TEST_DIR/suite/binlog/std_data/binlog_old_version_4_1.000001
|
|
==== Test ====
|
|
start slave sql_thread;
|
|
include/wait_for_slave_param.inc [Exec_Master_Log_Pos]
|
|
==== a prove that the fake has been processed successfully ====
|
|
SELECT COUNT(*) - 17920 as zero FROM t3;
|
|
zero
|
|
0
|
|
==== Clean up ====
|
|
include/stop_slave_sql.inc
|
|
include/cleanup_fake_relay_log.inc
|
|
drop table t1, t3;
|
|
include/rpl_end.inc
|