~ubuntu-branches/ubuntu/precise/mysql-5.1/precise

« back to all changes in this revision

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

  • Committer: Bazaar Package Importer
  • Author(s): Norbert Tretkowski
  • Date: 2010-03-17 14:56:02 UTC
  • Revision ID: james.westby@ubuntu.com-20100317145602-x7e30l1b2sb5s6w6
Tags: upstream-5.1.45
ImportĀ upstreamĀ versionĀ 5.1.45

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
==== Initialize ====
 
8
[on master]
 
9
CREATE TABLE tinnodb (a INT) ENGINE = INNODB;
 
10
SHOW CREATE TABLE tinnodb;
 
11
Table   Create Table
 
12
tinnodb CREATE TABLE `tinnodb` (
 
13
  `a` int(11) DEFAULT NULL
 
14
) ENGINE=InnoDB DEFAULT CHARSET=latin1
 
15
set @old_debug= @@debug;
 
16
set @@debug= 'd,do_not_write_xid';
 
17
==== Test ====
 
18
INSERT INTO tinnodb VALUES (1);
 
19
SELECT * FROM tinnodb ORDER BY a;
 
20
a
 
21
1
 
22
[on slave]
 
23
==== Verify results on slave ====
 
24
include/stop_slave.inc
 
25
SELECT "" AS Slave_IO_State;
 
26
Slave_IO_State
 
27
 
 
28
SELECT "" AS Last_SQL_Error;
 
29
Last_SQL_Error
 
30
 
 
31
SELECT "" AS Last_IO_Error;
 
32
Last_IO_Error
 
33
 
 
34
SELECT * FROM tinnodb ORDER BY a;
 
35
a
 
36
==== Clean up ====
 
37
[on master]
 
38
DROP TABLE tinnodb;
 
39
set @@debug= @old_debug;
 
40
[on slave]
 
41
DROP TABLE tinnodb;