~ubuntu-branches/ubuntu/maverick/mysql-5.1/maverick-proposed

« back to all changes in this revision

Viewing changes to mysql-test/suite/bugs/r/rpl_bug12691.result

  • Committer: Package Import Robot
  • Author(s): Marc Deslauriers
  • Date: 2012-02-22 14:16:05 UTC
  • mto: This revision was merged to the branch mainline in revision 20.
  • Revision ID: package-import@ubuntu.com-20120222141605-nxlu9yzc6attylc2
Tags: upstream-5.1.61
ImportĀ upstreamĀ versionĀ 5.1.61

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
stop slave;
2
 
drop table if exists t1,t2,t3,t4,t5,t6,t7,t8,t9;
3
 
reset master;
4
 
reset slave;
5
 
drop table if exists t1,t2,t3,t4,t5,t6,t7,t8,t9;
6
 
start slave;
7
 
 
8
 
**** On Master ****
9
 
CREATE TABLE t1 (b CHAR(10));
10
 
 
11
 
**** On Slave ****
12
 
STOP SLAVE;
13
 
 
14
 
**** On Master ****
15
 
LOAD DATA INFILE FILENAME
16
 
SELECT COUNT(*) FROM t1;
17
 
COUNT(*)
18
 
3
19
 
show binlog events from <binlog_start>;
20
 
Log_name        Pos     Event_type      Server_id       End_log_pos     Info
21
 
master-bin.000001       #       Query   #       #       use `test`; CREATE TABLE t1 (b CHAR(10))
22
 
master-bin.000001       #       Begin_load_query        #       #       ;file_id=#;block_len=#
23
 
master-bin.000001       #       Execute_load_query      #       #       use `test`; LOAD DATA INFILE 'MYSQLTEST_VARDIR/tmp/rpl_bug12691.dat' INTO TABLE `t1` FIELDS TERMINATED BY '|' ENCLOSED BY '' ESCAPED BY '\\' LINES TERMINATED BY '\n' (`b`) ;file_id=#
24
 
 
25
 
**** On Slave ****
26
 
SET GLOBAL SQL_SLAVE_SKIP_COUNTER=1;
27
 
START SLAVE;
28
 
SELECT COUNT(*) FROM t1;
29
 
COUNT(*)
30
 
0
31
 
 
32
 
**** On Master ****
33
 
DROP TABLE t1;