Commit 0890238a authored by jmiller@mysql.com's avatar jmiller@mysql.com

rpl_foreign_key_innodb.result, rpl_foreign_key.test:

  had to add order by
parent 53784ff2
...@@ -11,11 +11,11 @@ INSERT INTO t1 VALUES (NULL),(NULL),(NULL); ...@@ -11,11 +11,11 @@ INSERT INTO t1 VALUES (NULL),(NULL),(NULL);
INSERT INTO t2 VALUES (5,0); INSERT INTO t2 VALUES (5,0);
INSERT INTO t2 VALUES (NULL,LAST_INSERT_ID()); INSERT INTO t2 VALUES (NULL,LAST_INSERT_ID());
SET FOREIGN_KEY_CHECKS=1; SET FOREIGN_KEY_CHECKS=1;
SELECT * FROM t1; SELECT * FROM t1 ORDER BY a;
SELECT * FROM t2; SELECT * FROM t2 ORDER BY b;
sync_slave_with_master; sync_slave_with_master;
SELECT * FROM t1; SELECT * FROM t1 ORDER BY a;
SELECT * FROM t2; SELECT * FROM t2 ORDER BY b;
connection master; connection master;
SET TIMESTAMP=1000000000; SET TIMESTAMP=1000000000;
......
...@@ -12,23 +12,23 @@ INSERT INTO t1 VALUES (NULL),(NULL),(NULL); ...@@ -12,23 +12,23 @@ INSERT INTO t1 VALUES (NULL),(NULL),(NULL);
INSERT INTO t2 VALUES (5,0); INSERT INTO t2 VALUES (5,0);
INSERT INTO t2 VALUES (NULL,LAST_INSERT_ID()); INSERT INTO t2 VALUES (NULL,LAST_INSERT_ID());
SET FOREIGN_KEY_CHECKS=1; SET FOREIGN_KEY_CHECKS=1;
SELECT * FROM t1; SELECT * FROM t1 ORDER BY a;
a a
10 10
11 11
12 12
13 13
SELECT * FROM t2; SELECT * FROM t2 ORDER BY b;
b c b c
5 0 5 0
6 11 6 11
SELECT * FROM t1; SELECT * FROM t1 ORDER BY a;
a a
12
10 10
11 11
12
13 13
SELECT * FROM t2; SELECT * FROM t2 ORDER BY b;
b c b c
5 0 5 0
6 11 6 11
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment