mirror of
https://github.com/MariaDB/server.git
synced 2025-01-18 21:12:26 +01:00
db47e4ca24
Fixed comparision of log-binary name to handle comparison when file name extension wraps from .999 to .1000 Don't replicate CREATE/DROP DATABASE if wild_xxx_table=database.% is used. mysql-test/r/rpl000009.result: Fixed replication test after fixing replication of DROP/CREATE DATABASE mysql-test/t/rpl000009.test: Fixed replication test after fixing replication of DROP/CREATE DATABASE sql/item_create.cc: Added timeout for wait_for_master_pos sql/item_create.h: Added timeout for wait_for_master_pos sql/item_func.cc: Added timeout for wait_for_master_pos sql/item_func.h: Added timeout for wait_for_master_pos sql/lex.h: Added timeout for wait_for_master_pos sql/slave.h: Added timeout for wait_for_master_pos Don't replicate CREATE/DROP DATABASE if wild_xxx_table=database.% is used. sql/sql_parse.cc: Don't replicate CREATE/DROP DATABASE if wild_xxx_table=database.% is used. sql/sql_repl.cc: Fixed comparision of log-binary name to handle comparison when file name extension wraps from .999 to .1000
9 lines
298 B
Text
9 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);
|