~ubuntu-branches/ubuntu/precise/mysql-5.5/precise-201203300109

« back to all changes in this revision

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

  • Committer: Package Import Robot
  • Author(s): Clint Byrum
  • Date: 2012-02-14 23:59:22 UTC
  • mfrom: (1.1.2)
  • Revision ID: package-import@ubuntu.com-20120214235922-cux5uek1e5l0hje9
Tags: 5.5.20-0ubuntu1
* New upstream release.
* d/mysql-server-5.5.mysql.upstart: Fix stop on to make sure mysql is
  fully stopped before shutdown commences. (LP: #688541) Also simplify
  start on as it is redundant.
* d/control: Depend on upstart version which has apparmor profile load
  script to prevent failure on upgrade from lucid to precise.
  (LP: #907465)
* d/apparmor-profile: need to allow /run since that is the true path
  of /var/run files. (LP: #917542)
* d/control: mysql-server-5.5 has files in it that used to be owned
  by libmysqlclient-dev, so it must break/replace it. (LP: #912487)
* d/rules, d/control: 5.5.20 Fixes segfault on tests with gcc 4.6,
  change compiler back to system default.
* d/rules: Turn off embedded libedit/readline.(Closes: #659566)

Show diffs side-by-side

added added

removed removed

Lines of Context:
26
26
INSERT IGNORE INTO t1 SELECT NULL, t2.b FROM t2 ORDER BY t2.a;
27
27
include/assert.inc [Count of elements in t1 should be 6.]
28
28
include/assert.inc [In SBR or MIXED modes, the event in the binlog should be the same that was executed. In RBR mode, binlog position should stay unchanged.]
 
29
DROP TABLE t1;
 
30
DROP TABLE t2;
 
31
CREATE TABLE t1 (
 
32
a INT UNSIGNED NOT NULL PRIMARY KEY
 
33
) ENGINE=innodb;
 
34
CREATE TABLE t2 (
 
35
a INT UNSIGNED
 
36
) ENGINE=innodb;
 
37
INSERT INTO t1 VALUES (1);
 
38
INSERT INTO t2 VALUES (1);
 
39
INSERT INTO t1 SELECT t2.a FROM t2 ORDER BY t2.a ON DUPLICATE KEY UPDATE t1.a= t1.a;
 
40
include/assert.inc [Sum of elements in t1 should be 1.]
 
41
include/assert.inc [In SBR or MIXED modes, the event in the binlog should be the same that was executed. In RBR mode, binlog position should stay unchanged.]
29
42
drop table t1, t2;
30
43
CREATE TABLE t1 (
31
44
a int unsigned not null auto_increment primary key,
52
65
INSERT IGNORE INTO t1 SELECT NULL, t2.b FROM t2 ORDER BY t2.a;
53
66
include/assert.inc [Count of elements in t1 should be 6.]
54
67
include/assert.inc [In SBR or MIXED modes, the event in the binlog should be the same that was executed. In RBR mode, binlog position should stay unchanged.]
 
68
DROP TABLE t1;
 
69
DROP TABLE t2;
 
70
CREATE TABLE t1 (
 
71
a INT UNSIGNED NOT NULL PRIMARY KEY
 
72
) ENGINE=myisam;
 
73
CREATE TABLE t2 (
 
74
a INT UNSIGNED
 
75
) ENGINE=myisam;
 
76
INSERT INTO t1 VALUES (1);
 
77
INSERT INTO t2 VALUES (1);
 
78
INSERT INTO t1 SELECT t2.a FROM t2 ORDER BY t2.a ON DUPLICATE KEY UPDATE t1.a= t1.a;
 
79
include/assert.inc [Sum of elements in t1 should be 1.]
 
80
include/assert.inc [In SBR or MIXED modes, the event in the binlog should be the same that was executed. In RBR mode, binlog position should stay unchanged.]
55
81
drop table t1, t2;
56
82
include/rpl_end.inc