~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to mysql-test/suite/binlog/t/binlog_start_comment.test

  • Committer: brian
  • Date: 2008-06-25 05:29:13 UTC
  • Revision ID: brian@localhost.localdomain-20080625052913-6upwo0jsrl4lnapl
clean slate

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
# Test case for bug#32205 Replaying statements from mysqlbinlog fails
 
2
# with a syntax error, replicates fine
 
3
 
 
4
source include/have_log_bin.inc;
 
5
source include/have_local_infile.inc;
 
6
 
 
7
reset master;
 
8
--disable_warnings
 
9
drop table if exists t1,t2;
 
10
--enable_warnings
 
11
create table t1 (word varchar(20)) -- create table t1;
 
12
create table t2 (word varchar(20)) -- create table t2;
 
13
load data infile '../std_data_ln/words.dat' into table t1 -- load data to t1;
 
14
insert into t2 values ("Ada");
 
15
flush logs;
 
16
select * from t2;
 
17
--exec $MYSQL_BINLOG --local-load=$MYSQLTEST_VARDIR/tmp/ $MYSQLTEST_VARDIR/log/master-bin.000001 > $MYSQLTEST_VARDIR/tmp/binlog_start_comment.binlog
 
18
--exec $MYSQL --local-infile=1 < $MYSQLTEST_VARDIR/tmp/binlog_start_comment.binlog
 
19
flush logs;
 
20
select * from t2;
 
21
 
 
22
# clean up
 
23
drop table t1,t2;
 
24
#--system rm $MYSQLTEST_VARDIR/tmp/binlog_start_comment.binlog