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
7f7dc20e
Commit
7f7dc20e
authored
Dec 10, 2002
by
serg@serg.mysql.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
order_by.result, key_diff.result:
updated
parent
9a3f3a12
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
mysql-test/r/key_diff.result
mysql-test/r/key_diff.result
+1
-1
mysql-test/r/order_by.result
mysql-test/r/order_by.result
+3
-3
No files found.
mysql-test/r/key_diff.result
View file @
7f7dc20e
...
@@ -36,7 +36,7 @@ a a a a
...
@@ -36,7 +36,7 @@ a a a a
explain select t1.*,t2.* from t1,t1 as t2 where t1.A=t2.B;
explain select t1.*,t2.* from t1,t1 as t2 where t1.A=t2.B;
table type possible_keys key key_len ref rows Extra
table type possible_keys key key_len ref rows Extra
t1 ALL a NULL NULL NULL 5
t1 ALL a NULL NULL NULL 5
t2
ALL b NULL NULL NULL 5
Using where
t2
ref b b 4 t1.a 1
Using where
select t1.*,t2.* from t1,t1 as t2 where t1.A=t2.B order by binary t1.a,t2.a;
select t1.*,t2.* from t1,t1 as t2 where t1.A=t2.B order by binary t1.a,t2.a;
a b a b
a b a b
A B a a
A B a a
...
...
mysql-test/r/order_by.result
View file @
7f7dc20e
...
@@ -450,9 +450,9 @@ gid sid uid
...
@@ -450,9 +450,9 @@ gid sid uid
103853 5 250
103853 5 250
EXPLAIN select t1.gid, t2.sid, t3.uid from t3, t2, t1 where t2.gid = t1.gid and t2.uid = t3.uid order by t1.gid, t3.uid;
EXPLAIN select t1.gid, t2.sid, t3.uid from t3, t2, t1 where t2.gid = t1.gid and t2.uid = t3.uid order by t1.gid, t3.uid;
table type possible_keys key key_len ref rows Extra
table type possible_keys key key_len ref rows Extra
t
1 index PRIMARY PRIMARY 4 NULL 6 Using index
t
3 index PRIMARY PRIMARY 2 NULL 6 Using index; Using temporary; Using filesort
t2
eq_ref PRIMARY,uid PRIMARY 4 t1.gid 1
t2
ref PRIMARY,uid uid 2 t3.uid 1 Using where
t
3 eq_ref PRIMARY PRIMARY 2 t2.uid 1 Using where;
Using index
t
1 eq_ref PRIMARY PRIMARY 4 t2.gid 1
Using index
EXPLAIN SELECT t1.gid, t3.uid from t1, t3 where t1.gid = t3.uid order by t1.gid,t3.skr;
EXPLAIN SELECT t1.gid, t3.uid from t1, t3 where t1.gid = t3.uid order by t1.gid,t3.skr;
table type possible_keys key key_len ref rows Extra
table type possible_keys key key_len ref rows Extra
t1 index PRIMARY PRIMARY 4 NULL 6 Using index
t1 index PRIMARY PRIMARY 4 NULL 6 Using index
...
...
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