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

« back to all changes in this revision

Viewing changes to mysql-test/suite/rpl_ndb/r/rpl_ndb_set_null.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
stop slave;
 
8
drop table if exists t1,t2,t3,t4,t5,t6,t7,t8,t9;
 
9
reset master;
 
10
reset slave;
 
11
drop table if exists t1,t2,t3,t4,t5,t6,t7,t8,t9;
 
12
start slave;
 
13
CREATE TABLE t1 (c1 BIT, c2 INT) Engine=NDB;
 
14
INSERT INTO `t1` VALUES ( 1, 1 );
 
15
UPDATE t1 SET c1=NULL where c2=1;
 
16
Comparing tables master:test.t1 and slave:test.t1
 
17
DELETE FROM t1 WHERE c2=1 LIMIT 1;
 
18
Comparing tables master:test.t1 and slave:test.t1
 
19
DROP TABLE t1;
 
20
stop slave;
 
21
drop table if exists t1,t2,t3,t4,t5,t6,t7,t8,t9;
 
22
reset master;
 
23
reset slave;
 
24
drop table if exists t1,t2,t3,t4,t5,t6,t7,t8,t9;
 
25
start slave;
 
26
CREATE TABLE t1 (c1 CHAR) Engine=NDB;
 
27
INSERT INTO t1 ( c1 ) VALUES ( 'w' ) ;
 
28
SELECT * FROM t1;
 
29
c1
 
30
w
 
31
UPDATE t1 SET c1=NULL WHERE c1='w';
 
32
Comparing tables master:test.t1 and slave:test.t1
 
33
DELETE FROM t1 LIMIT 2;
 
34
Comparing tables master:test.t1 and slave:test.t1
 
35
DROP TABLE t1;