Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
MariaDB
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
MariaDB
Commits
da3211e4
Commit
da3211e4
authored
Feb 12, 2021
by
Marko Mäkelä
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
MDEV-24763 fixup: Use deterministic ORDER BY
parent
6f3f191c
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
mysql-test/suite/innodb/r/alter_table.result
mysql-test/suite/innodb/r/alter_table.result
+1
-1
mysql-test/suite/innodb/t/alter_table.test
mysql-test/suite/innodb/t/alter_table.test
+1
-1
No files found.
mysql-test/suite/innodb/r/alter_table.result
View file @
da3211e4
...
...
@@ -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
...
...
mysql-test/suite/innodb/t/alter_table.test
View file @
da3211e4
...
...
@@ -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
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment