rpl_foreign_key_innodb.result, rpl_foreign_key.test:

had to add order by
This commit is contained in:
jmiller@mysql.com 2006-01-20 23:39:13 +01:00
parent 53784ff246
commit 0890238a0f
2 changed files with 9 additions and 9 deletions

View file

@ -11,11 +11,11 @@ INSERT INTO t1 VALUES (NULL),(NULL),(NULL);
INSERT INTO t2 VALUES (5,0);
INSERT INTO t2 VALUES (NULL,LAST_INSERT_ID());
SET FOREIGN_KEY_CHECKS=1;
SELECT * FROM t1;
SELECT * FROM t2;
SELECT * FROM t1 ORDER BY a;
SELECT * FROM t2 ORDER BY b;
sync_slave_with_master;
SELECT * FROM t1;
SELECT * FROM t2;
SELECT * FROM t1 ORDER BY a;
SELECT * FROM t2 ORDER BY b;
connection master;
SET TIMESTAMP=1000000000;

View file

@ -12,23 +12,23 @@ INSERT INTO t1 VALUES (NULL),(NULL),(NULL);
INSERT INTO t2 VALUES (5,0);
INSERT INTO t2 VALUES (NULL,LAST_INSERT_ID());
SET FOREIGN_KEY_CHECKS=1;
SELECT * FROM t1;
SELECT * FROM t1 ORDER BY a;
a
10
11
12
13
SELECT * FROM t2;
SELECT * FROM t2 ORDER BY b;
b c
5 0
6 11
SELECT * FROM t1;
SELECT * FROM t1 ORDER BY a;
a
12
10
11
12
13
SELECT * FROM t2;
SELECT * FROM t2 ORDER BY b;
b c
5 0
6 11