mirror of
https://github.com/MariaDB/server.git
synced 2025-10-19 21:09:40 +03:00
Merge mkindahl@bk-internal.mysql.com:/home/bk/mysql-5.1-rpl
into kindahl-laptop.dnsalias.net:/home/bk/b24954-mysql-5.1-new-rpl mysql-test/r/rpl_rotate_logs.result: Auto merged mysql-test/t/rpl_rotate_logs.test: Auto merged sql/Makefile.am: Auto merged sql/log_event.cc: Auto merged sql/sql_repl.cc: Auto merged
This commit is contained in:
@@ -63,9 +63,7 @@ insert into temp_table values ("testing temporary tables");
|
||||
create table t1 (s text);
|
||||
insert into t1 values('Could not break slave'),('Tried hard');
|
||||
sync_slave_with_master;
|
||||
--replace_result $MASTER_MYPORT MASTER_PORT
|
||||
--replace_column 1 # 8 # 9 # 16 # 23 # 33 #
|
||||
show slave status;
|
||||
source include/show_slave_status.inc;
|
||||
select * from t1;
|
||||
connection master;
|
||||
flush logs;
|
||||
@@ -125,9 +123,7 @@ purge master logs before (@time_for_purge);
|
||||
show binary logs;
|
||||
insert into t2 values (65);
|
||||
sync_slave_with_master;
|
||||
--replace_result $MASTER_MYPORT MASTER_PORT
|
||||
--replace_column 1 # 8 # 9 # 16 # 23 # 33 #
|
||||
show slave status;
|
||||
source include/show_slave_status.inc;
|
||||
select * from t2;
|
||||
|
||||
#
|
||||
@@ -157,9 +153,7 @@ connection slave;
|
||||
sync_with_master;
|
||||
select * from t4;
|
||||
|
||||
--replace_result $MASTER_MYPORT MASTER_PORT
|
||||
--replace_column 1 # 8 # 9 # 16 # 23 # 33 #
|
||||
show slave status;
|
||||
source include/show_slave_status.inc;
|
||||
# because of concurrent insert, the table may not be up to date
|
||||
# if we do not lock
|
||||
lock tables t3 read;
|
||||
|
Reference in New Issue
Block a user