Skip to content

Commit da3211e

Browse files
committed
MDEV-24763 fixup: Use deterministic ORDER BY
1 parent 6f3f191 commit da3211e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

mysql-test/suite/innodb/r/alter_table.result

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ ALTER TABLE t1 CHANGE COLUMN a u INT;
7979
SELECT sf.* FROM information_schema.innodb_sys_fields sf
8080
INNER JOIN information_schema.innodb_sys_indexes si ON sf.index_id=si.index_id
8181
INNER JOIN information_schema.innodb_sys_tables st ON si.table_id=st.table_id
82-
WHERE st.name='test/t1' ORDER BY pos;
82+
WHERE st.name='test/t1' ORDER BY sf.index_id,sf.pos;
8383
INDEX_ID NAME POS
8484
ID b 0
8585
ID c 0

mysql-test/suite/innodb/t/alter_table.test

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ ALTER TABLE t1 CHANGE COLUMN a u INT;
9090
SELECT sf.* FROM information_schema.innodb_sys_fields sf
9191
INNER JOIN information_schema.innodb_sys_indexes si ON sf.index_id=si.index_id
9292
INNER JOIN information_schema.innodb_sys_tables st ON si.table_id=st.table_id
93-
WHERE st.name='test/t1' ORDER BY pos;
93+
WHERE st.name='test/t1' ORDER BY sf.index_id,sf.pos;
9494
DROP TABLE t1;
9595

9696
--echo # End of 10.2 tests

0 commit comments

Comments
 (0)