Commit b5c11681 authored by dlenev@dlenev.mshome's avatar dlenev@dlenev.mshome

Made rpl_until test independent from mysqld version

parent 07a9b89f
...@@ -14,7 +14,7 @@ insert into t2 values (3),(4); ...@@ -14,7 +14,7 @@ insert into t2 values (3),(4);
drop table t2; drop table t2;
show binlog events; show binlog events;
Log_name Pos Event_type Server_id Orig_log_pos Info Log_name Pos Event_type Server_id Orig_log_pos Info
master-bin.000001 4 Start 1 4 Server ver: 4.1.1-alpha-debug-log, Binlog ver: 3 master-bin.000001 4 Start 1 4 Server ver: VERSION, Binlog ver: 3
master-bin.000001 79 Query 1 79 use `test`; create table t1(n int not null auto_increment primary key) master-bin.000001 79 Query 1 79 use `test`; create table t1(n int not null auto_increment primary key)
master-bin.000001 172 Query 1 172 use `test`; insert into t1 values (1),(2),(3),(4) master-bin.000001 172 Query 1 172 use `test`; insert into t1 values (1),(2),(3),(4)
master-bin.000001 244 Query 1 244 use `test`; drop table t1 master-bin.000001 244 Query 1 244 use `test`; drop table t1
......
source include/master-slave.inc; source include/master-slave.inc;
# prepare version for substitutions
let $VERSION=`select version()`;
# stop slave before he will start replication # stop slave before he will start replication
connection slave; connection slave;
stop slave; stop slave;
...@@ -13,6 +16,7 @@ create table t2(n int not null auto_increment primary key); ...@@ -13,6 +16,7 @@ create table t2(n int not null auto_increment primary key);
insert into t2 values (1),(2); insert into t2 values (1),(2);
insert into t2 values (3),(4); insert into t2 values (3),(4);
drop table t2; drop table t2;
--replace_result $VERSION VERSION
show binlog events; show binlog events;
# try to replicate all queries until drop of t1 # try to replicate all queries until drop of t1
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment