Skip to content

Commit

Permalink
MDEV-24763 fixup: Use deterministic ORDER BY
Browse files Browse the repository at this point in the history
  • Loading branch information
dr-m committed Feb 12, 2021
1 parent 6f3f191 commit da3211e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion mysql-test/suite/innodb/r/alter_table.result
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ ALTER TABLE t1 CHANGE COLUMN a u INT;
SELECT sf.* FROM information_schema.innodb_sys_fields sf
INNER JOIN information_schema.innodb_sys_indexes si ON sf.index_id=si.index_id
INNER JOIN information_schema.innodb_sys_tables st ON si.table_id=st.table_id
WHERE st.name='test/t1' ORDER BY pos;
WHERE st.name='test/t1' ORDER BY sf.index_id,sf.pos;
INDEX_ID NAME POS
ID b 0
ID c 0
Expand Down
2 changes: 1 addition & 1 deletion mysql-test/suite/innodb/t/alter_table.test
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ ALTER TABLE t1 CHANGE COLUMN a u INT;
SELECT sf.* FROM information_schema.innodb_sys_fields sf
INNER JOIN information_schema.innodb_sys_indexes si ON sf.index_id=si.index_id
INNER JOIN information_schema.innodb_sys_tables st ON si.table_id=st.table_id
WHERE st.name='test/t1' ORDER BY pos;
WHERE st.name='test/t1' ORDER BY sf.index_id,sf.pos;
DROP TABLE t1;

--echo # End of 10.2 tests

0 comments on commit da3211e

Please sign in to comment.