mirror of
https://github.com/MariaDB/server.git
synced 2025-01-18 21:12:26 +01:00
rpl_foreign_key_innodb.result, rpl_foreign_key.test:
had to add order by
This commit is contained in:
parent
53784ff246
commit
0890238a0f
2 changed files with 9 additions and 9 deletions
|
@ -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;
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue