Re-creating binlog_start_comment.test to make sure that changes

are propagated from earlier versions.
parent 22affb33
# Test case for bug#32205 Replaying statements from mysqlbinlog fails # Test case for bug#32205 Replaying statements from mysqlbinlog fails
# with a syntax error, replicates fine # with a syntax error, replicates fine
-- source include/have_log_bin.inc source include/have_log_bin.inc;
source include/have_local_infile.inc;
reset master; reset master;
--disable_warnings --disable_warnings
drop table if exists t1,t2; drop table if exists t1,t2;
...@@ -12,11 +14,11 @@ load data infile '../std_data_ln/words.dat' into table t1 -- load data to t1; ...@@ -12,11 +14,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 > $MYSQLTEST_VARDIR/tmp/binlog_start_comment.binlog --exec $MYSQL_BINLOG --short-form --local-load=$MYSQLTEST_VARDIR/tmp/ $MYSQLTEST_VARDIR/log/master-bin.000001 > $MYSQLTEST_VARDIR/tmp/binlog_start_comment.binlog
--exec $MYSQL < $MYSQLTEST_VARDIR/tmp/binlog_start_comment.binlog --exec $MYSQL --local-infile=1 < $MYSQLTEST_VARDIR/tmp/binlog_start_comment.binlog
flush logs; flush logs;
select * from t2; select * from t2;
# clean up # clean up
drop table t1,t2; drop table t1,t2;
--system rm $MYSQLTEST_VARDIR/tmp/binlog_start_comment.binlog #--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