Commit f858fe10 authored by hezx@hezx.(none)'s avatar hezx@hezx.(none)

Fixed some test case for BUG#32205

parent c2f00cc3
reset master;
drop table if exists t1,t2; drop table if exists t1,t2;
create table t1 (word varchar(20)) -- create table t1; create table t1 (word varchar(20)) -- create table t1;
create table t2 (word varchar(20)) -- create table t2; create table t2 (word varchar(20)) -- create table t2;
......
This diff is collapsed.
...@@ -2,6 +2,7 @@ ...@@ -2,6 +2,7 @@
# with a syntax error, replicates fine # with a syntax error, replicates fine
-- source include/have_log_bin.inc -- source include/have_log_bin.inc
reset master;
--disable_warnings --disable_warnings
drop table if exists t1,t2; drop table if exists t1,t2;
--enable_warnings --enable_warnings
...@@ -11,6 +12,11 @@ load data infile '../std_data_ln/words.dat' into table t1 -- load data to t1; ...@@ -11,6 +12,11 @@ load data infile '../std_data_ln/words.dat' into table t1 -- load data to t1;
insert into t2 values ("Ada"); insert into t2 values ("Ada");
flush logs; flush logs;
select * from t2; select * from t2;
--exec $MYSQL_BINLOG $MYSQLTEST_VARDIR/log/master-bin.000001 | $MYSQL --exec $MYSQL_BINLOG $MYSQLTEST_VARDIR/log/master-bin.000001 > $MYSQLTEST_VARDIR/tmp/binlog_start_comment.binlog
--exec $MYSQL < $MYSQLTEST_VARDIR/tmp/binlog_start_comment.binlog
flush logs; flush logs;
select * from t2; select * from t2;
# clean up
drop table t1,t2;
--system rm $MYSQLTEST_VARDIR/tmp/binlog_start_comment.binlog
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