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
4efe0463
Commit
4efe0463
authored
May 29, 2011
by
Sergey Petrunya
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update pbxt suite test results
parent
ded7342d
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
7 additions
and
7 deletions
+7
-7
mysql-test/suite/pbxt/r/group_min_max.result
mysql-test/suite/pbxt/r/group_min_max.result
+1
-1
mysql-test/suite/pbxt/r/metadata.result
mysql-test/suite/pbxt/r/metadata.result
+3
-3
mysql-test/suite/pbxt/r/subselect.result
mysql-test/suite/pbxt/r/subselect.result
+2
-2
sql/sql_base.cc
sql/sql_base.cc
+1
-1
No files found.
mysql-test/suite/pbxt/r/group_min_max.result
View file @
4efe0463
...
...
@@ -2256,7 +2256,7 @@ 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
<subquery2> ALL distinct_key NULL NULL NULL 15 Using where
1 PRIMARY
t1_outer index NULL a 10 NULL 15 Using where; Using index
2 DEPENDENT SUBQUERY t1 index NULL a 10 NULL 1 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/metadata.result
View file @
4efe0463
...
...
@@ -55,7 +55,7 @@ id data data
2 female no
select t1.id from t1 union select t2.id from t2;
Catalog Database Table Table_alias Column Column_alias Type Length Max length Is_null Flags Decimals Charsetnr
def id id 1 4 1 Y
49152
0 63
def id id 1 4 1 Y
32768
0 63
id
1
2
...
...
@@ -66,7 +66,7 @@ insert into t1 values (2,'two');
set @arg00=1 ;
select @arg00 FROM t1 where a=1 union distinct select 1 FROM t1 where a=1;
Catalog Database Table Table_alias Column Column_alias Type Length Max length Is_null Flags Decimals Charsetnr
def @arg00 @arg00 8 20 1 Y
49152
0 63
def @arg00 @arg00 8 20 1 Y
32768
0 63
@arg00
1
select * from (select @arg00) aaa;
...
...
@@ -76,7 +76,7 @@ def aaa @arg00 @arg00 8 20 1 Y 32768 0 63
1
select 1 union select 1;
Catalog Database Table Table_alias Column Column_alias Type Length Max length Is_null Flags Decimals Charsetnr
def 1 1 8 20 1 N
49153
0 63
def 1 1 8 20 1 N
32769
0 63
1
1
select * from (select 1 union select 1) aaa;
...
...
mysql-test/suite/pbxt/r/subselect.result
View file @
4efe0463
...
...
@@ -3425,13 +3425,13 @@ id select_type table type possible_keys key key_len ref rows Extra
ALTER TABLE t1 ADD INDEX(a);
SELECT * FROM t1 WHERE (a,b) = ANY (SELECT a, max(b) FROM t1 GROUP BY a);
a b
AAA 8
BBB 4
CCC 7
AAA 8
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
<subquery2> ALL distinct_key
NULL NULL NULL 9 Using where
1 PRIMARY
t1 ALL NULL
NULL NULL NULL 9 Using where
2 DEPENDENT SUBQUERY t1 index NULL a 8 NULL 1
DROP TABLE t1;
create table t1( f1 int,f2 int);
...
...
sql/sql_base.cc
View file @
4efe0463
...
...
@@ -7760,7 +7760,6 @@ bool setup_tables(THD *thd, Name_resolution_context *context,
table_list
=
table_list
->
next_leaf
,
tablenr
++
)
{
TABLE
*
table
=
table_list
->
table
;
table
->
pos_in_table_list
=
table_list
;
if
(
first_select_table
&&
table_list
->
top_table
()
==
first_select_table
)
{
...
...
@@ -7775,6 +7774,7 @@ bool setup_tables(THD *thd, Name_resolution_context *context,
}
else
{
table
->
pos_in_table_list
=
table_list
;
setup_table_map
(
table
,
table_list
,
tablenr
);
if
(
table_list
->
process_index_hints
(
table
))
...
...
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