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
559dafdf
Commit
559dafdf
authored
Jun 06, 2010
by
Sergey Petrunya
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update pbxt testsuite results with latest subquery changes.
parent
ef27f6c3
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
5 deletions
+5
-5
mysql-test/suite/pbxt/r/group_min_max.result
mysql-test/suite/pbxt/r/group_min_max.result
+2
-2
mysql-test/suite/pbxt/r/subselect.result
mysql-test/suite/pbxt/r/subselect.result
+3
-3
No files found.
mysql-test/suite/pbxt/r/group_min_max.result
View file @
559dafdf
...
...
@@ -2256,8 +2256,8 @@ id select_type table type possible_keys key key_len ref rows Extra
EXPLAIN SELECT 1 FROM t1 AS t1_outer WHERE
a IN (SELECT max(b) FROM t1 GROUP BY a HAVING a < 2);
id select_type table type possible_keys key key_len ref rows Extra
1 PRIMARY
SUBQUERY#2
ALL distinct_key NULL NULL NULL 15
1 PRIMARY t1_outer ref a a 5
SUBQUERY#2
.max(b) 1 Using index
1 PRIMARY
<subquery2>
ALL distinct_key NULL NULL NULL 15
1 PRIMARY t1_outer ref a a 5
<subquery2>
.max(b) 1 Using index
2 SUBQUERY t1 index NULL a 10 NULL 15 Using index
EXPLAIN SELECT 1 FROM t1 AS t1_outer GROUP BY a HAVING
a > (SELECT max(b) FROM t1 GROUP BY a HAVING a < 2);
...
...
mysql-test/suite/pbxt/r/subselect.result
View file @
559dafdf
...
...
@@ -3421,7 +3421,7 @@ EXPLAIN
SELECT * FROM t1 WHERE (a,b) = ANY (SELECT a, max(b) FROM t1 GROUP BY a);
id select_type table type possible_keys key key_len ref rows Extra
1 PRIMARY t1 ALL NULL NULL NULL NULL 9
1 PRIMARY
SUBQUERY#2
eq_ref distinct_key distinct_key 23 test.t1.a,test.t1.b 1
1 PRIMARY
<subquery2>
eq_ref distinct_key distinct_key 23 test.t1.a,test.t1.b 1
2 SUBQUERY t1 ALL NULL NULL NULL NULL 9 Using temporary; Using filesort
ALTER TABLE t1 ADD INDEX(a);
SELECT * FROM t1 WHERE (a,b) = ANY (SELECT a, max(b) FROM t1 GROUP BY a);
...
...
@@ -3432,8 +3432,8 @@ CCC 7
EXPLAIN
SELECT * FROM t1 WHERE (a,b) = ANY (SELECT a, max(b) FROM t1 GROUP BY a);
id select_type table type possible_keys key key_len ref rows Extra
1 PRIMARY
SUBQUERY#2
ALL distinct_key NULL NULL NULL 9
1 PRIMARY t1 ref a a 8
SUBQUERY#2
.a 1 Using where
1 PRIMARY
<subquery2>
ALL distinct_key NULL NULL NULL 9
1 PRIMARY t1 ref a a 8
<subquery2>
.a 1 Using where
2 SUBQUERY t1 ALL NULL NULL NULL NULL 9 Using temporary; Using filesort
DROP TABLE t1;
create table t1( f1 int,f2 int);
...
...
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