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
4041575a
Commit
4041575a
authored
Oct 12, 2004
by
joreland@mysql.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix order by
parent
ed52b774
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
mysql-test/r/ndb_index_ordered.result
mysql-test/r/ndb_index_ordered.result
+3
-3
mysql-test/t/ndb_index_ordered.test
mysql-test/t/ndb_index_ordered.test
+1
-1
No files found.
mysql-test/r/ndb_index_ordered.result
View file @
4041575a
...
...
@@ -37,14 +37,14 @@ a b c
1 2 3
2 3 5
3 4 6
select tt1.* from t1 as tt1, t1 as tt2 use index(b) where tt1.b = tt2.b order by tt1.
c
;
select tt1.* from t1 as tt1, t1 as tt2 use index(b) where tt1.b = tt2.b order by tt1.
b
;
a b c
6 7 2
5 6 2
1 2 3
2 3 5
3 4 6
4 5 8
5 6 2
6 7 2
select a, b, c from t1 where a!=2 and c=6;
a b c
3 4 6
...
...
mysql-test/t/ndb_index_ordered.test
View file @
4041575a
...
...
@@ -24,7 +24,7 @@ select * from t1 where b < 4 order by b;
select
*
from
t1
where
b
<=
4
order
by
b
;
# Test of reset_bounds
select
tt1
.*
from
t1
as
tt1
,
t1
as
tt2
use
index
(b) where tt1.b = tt2.b order by tt1.
c
;
select
tt1
.*
from
t1
as
tt1
,
t1
as
tt2
use
index
(b) where tt1.b = tt2.b order by tt1.
b
;
select
a
,
b
,
c
from
t1
where
a
!=
2
and
c
=
6
;
select
a
,
b
,
c
from
t1
where
a
!=
2
order
by
a
;
...
...
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