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
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
mariadb
Commits
27a19225
Commit
27a19225
authored
Oct 12, 2004
by
unknown
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix order by
parent
b078da18
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 @
27a19225
...
...
@@ -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 @
27a19225
...
...
@@ -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