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

« back to all changes in this revision

Viewing changes to mysql-test/suite/rpl/r/rpl_row_tabledefs_2myisam.result

  • Committer: Package Import Robot
  • Author(s): Marc Deslauriers
  • Date: 2012-02-22 08:30:45 UTC
  • mfrom: (1.4.1)
  • Revision ID: package-import@ubuntu.com-20120222083045-2rd53r4bnyx7qus4
Tags: 5.1.61-0ubuntu0.11.04.1
* SECURITY UPDATE: Update to 5.1.61 to fix multiple security issues
  (LP: #937869)
  - http://www.oracle.com/technetwork/topics/security/cpujan2012-366304.html
  - CVE-2011-2262
  - CVE-2012-0075
  - CVE-2012-0112
  - CVE-2012-0113
  - CVE-2012-0114
  - CVE-2012-0115
  - CVE-2012-0116
  - CVE-2012-0117
  - CVE-2012-0118
  - CVE-2012-0119
  - CVE-2012-0120
  - CVE-2012-0484
  - CVE-2012-0485
  - CVE-2012-0486
  - CVE-2012-0487
  - CVE-2012-0488
  - CVE-2012-0489
  - CVE-2012-0490
  - CVE-2012-0491
  - CVE-2012-0492
  - CVE-2012-0493
  - CVE-2012-0494
  - CVE-2012-0495
  - CVE-2012-0496

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;
 
1
include/master-slave.inc
 
2
[connection master]
7
3
STOP SLAVE;
8
4
SET @my_sql_mode= @@global.sql_mode;
9
5
SET GLOBAL SQL_MODE='STRICT_ALL_TABLES';
118
114
SELECT * FROM t2;
119
115
a
120
116
2
121
 
Checking that both slave threads are running.
 
117
include/check_slave_is_running.inc
122
118
INSERT INTO t9 VALUES (4);
123
119
INSERT INTO t4 VALUES (4);
124
 
--source include/wait_for_slave_sql_error_and_skip.inc
125
 
Last_SQL_Error = Table definition on master and slave does not match: Column 0 type mismatch - received type 3, test.t4 has type 4
126
 
SET GLOBAL SQL_SLAVE_SKIP_COUNTER= 2;
127
 
include/start_slave.inc
 
120
call mtr.add_suppression("Slave SQL.*Table definition on master and slave does not match: Column [012] type mismatch.* Error_code: 1535");
 
121
include/wait_for_slave_sql_error_and_skip.inc [errno=1535]
 
122
Last_SQL_Error = 'Table definition on master and slave does not match: Column 0 type mismatch - received type 3, test.t4 has type 4'
128
123
INSERT INTO t9 VALUES (5);
129
124
INSERT INTO t5 VALUES (5,10,25);
130
 
--source include/wait_for_slave_sql_error_and_skip.inc
131
 
Last_SQL_Error = Table definition on master and slave does not match: Column 1 type mismatch - received type 3, test.t5 has type 4
132
 
SET GLOBAL SQL_SLAVE_SKIP_COUNTER= 2;
133
 
include/start_slave.inc
 
125
include/wait_for_slave_sql_error_and_skip.inc [errno=1535]
 
126
Last_SQL_Error = 'Table definition on master and slave does not match: Column 1 type mismatch - received type 3, test.t5 has type 4'
134
127
INSERT INTO t9 VALUES (6);
135
128
INSERT INTO t6 VALUES (6,12,36);
136
 
--source include/wait_for_slave_sql_error_and_skip.inc
137
 
Last_SQL_Error = Table definition on master and slave does not match: Column 2 type mismatch - received type 3, test.t6 has type 4
138
 
SET GLOBAL SQL_SLAVE_SKIP_COUNTER= 2;
139
 
include/start_slave.inc
 
129
include/wait_for_slave_sql_error_and_skip.inc [errno=1535]
 
130
Last_SQL_Error = 'Table definition on master and slave does not match: Column 2 type mismatch - received type 3, test.t6 has type 4'
140
131
INSERT INTO t9 VALUES (6);
141
 
Checking that both slave threads are running.
 
132
include/check_slave_is_running.inc
142
133
INSERT INTO t7 VALUES (1),(2),(3);
143
134
INSERT INTO t8 VALUES (1),(2),(3);
144
135
SELECT * FROM t7 ORDER BY a;
194
185
DROP TABLE IF EXISTS t1_int,t1_bit,t1_char,t1_nodef;
195
186
DROP TABLE IF EXISTS t2,t3,t4,t5,t6,t7,t8,t9;
196
187
SET @@global.sql_mode= @my_sql_mode;
 
188
include/rpl_end.inc