mirror of
https://github.com/MariaDB/server.git
synced 2025-01-27 01:04:19 +01:00
10 lines
298 B
Text
10 lines
298 B
Text
|
# See if master_pos_wait(,,timeout)
|
||
|
# Terminates with "timeout expired" (-1)
|
||
|
source include/master-slave.inc;
|
||
|
save_master_pos;
|
||
|
connection slave;
|
||
|
sync_with_master;
|
||
|
# Ask for a master log that has certainly not been reached yet
|
||
|
# timeout= 10 seconds
|
||
|
select master_pos_wait('master-bin.999999',0,10);
|