File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -79,7 +79,7 @@ ALTER TABLE t1 CHANGE COLUMN a u INT;
79
79
SELECT sf.* FROM information_schema.innodb_sys_fields sf
80
80
INNER JOIN information_schema.innodb_sys_indexes si ON sf.index_id=si.index_id
81
81
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;
83
83
INDEX_ID NAME POS
84
84
ID b 0
85
85
ID c 0
Original file line number Diff line number Diff line change @@ -90,7 +90,7 @@ ALTER TABLE t1 CHANGE COLUMN a u INT;
90
90
SELECT sf.* FROM information_schema.innodb_sys_fields sf
91
91
INNER JOIN information_schema.innodb_sys_indexes si ON sf.index_id=si.index_id
92
92
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;
94
94
DROP TABLE t1;
95
95
96
96
--echo # End of 10.2 tests
You can’t perform that action at this time.
0 commit comments