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
0b69585d
Commit
0b69585d
authored
May 29, 2011
by
Sergey Petrunya
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Buildbot fixes
- Update test results (checked) - Fix compiler warning
parent
77c4c4d8
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
6 additions
and
6 deletions
+6
-6
mysql-test/r/group_by.result
mysql-test/r/group_by.result
+1
-1
mysql-test/r/group_min_max.result
mysql-test/r/group_min_max.result
+1
-1
mysql-test/r/metadata.result
mysql-test/r/metadata.result
+3
-3
sql/sql_select.cc
sql/sql_select.cc
+1
-1
No files found.
mysql-test/r/group_by.result
View file @
0b69585d
...
...
@@ -1543,7 +1543,7 @@ EXPLAIN SELECT 1 FROM t1 WHERE a IN
(SELECT a FROM t1 USE INDEX (i2) IGNORE INDEX (i2));
id select_type table type possible_keys key key_len ref rows Extra
1 PRIMARY t1 index PRIMARY,i2 PRIMARY 4 NULL 144 Using index
1 PRIMARY
<subquery2> eq_ref distinct_key distinct_key 4 func 1
1 PRIMARY
t1 ALL NULL NULL NULL NULL 144 Using where; FirstMatch(t1)
CREATE TABLE t2 (a INT, b INT, KEY(a));
INSERT INTO t2 VALUES (1, 1), (2, 2), (3,3), (4,4);
EXPLAIN SELECT a, SUM(b) FROM t2 GROUP BY a LIMIT 2;
...
...
mysql-test/r/group_min_max.result
View file @
0b69585d
...
...
@@ -2401,7 +2401,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 8 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/r/metadata.result
View file @
0b69585d
...
...
@@ -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;
...
...
sql/sql_select.cc
View file @
0b69585d
...
...
@@ -5926,7 +5926,7 @@ void JOIN::get_partial_cost_and_fanout(uint end_tab_idx,
{
double
record_count
=
1
;
double
read_time
=
0.0
;
double
sj_inner_fanout
;
double
sj_inner_fanout
=
1.0
;
JOIN_TAB
*
end_tab
=
NULL
;
JOIN_TAB
*
tab
;
uint
i
;
...
...
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