mirror of
https://github.com/MariaDB/server.git
synced 2025-08-07 00:04:31 +03:00
Buildbot fixes
- Update test results (checked) - Fix compiler warning
This commit is contained in:
@@ -1543,7 +1543,7 @@ EXPLAIN SELECT 1 FROM t1 WHERE a IN
|
|||||||
(SELECT a FROM t1 USE INDEX (i2) IGNORE INDEX (i2));
|
(SELECT a FROM t1 USE INDEX (i2) IGNORE INDEX (i2));
|
||||||
id select_type table type possible_keys key key_len ref rows Extra
|
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 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));
|
CREATE TABLE t2 (a INT, b INT, KEY(a));
|
||||||
INSERT INTO t2 VALUES (1, 1), (2, 2), (3,3), (4,4);
|
INSERT INTO t2 VALUES (1, 1), (2, 2), (3,3), (4,4);
|
||||||
EXPLAIN SELECT a, SUM(b) FROM t2 GROUP BY a LIMIT 2;
|
EXPLAIN SELECT a, SUM(b) FROM t2 GROUP BY a LIMIT 2;
|
||||||
|
@@ -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
|
EXPLAIN SELECT 1 FROM t1 AS t1_outer WHERE
|
||||||
a IN (SELECT max(b) FROM t1 GROUP BY a HAVING a < 2);
|
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
|
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
|
2 DEPENDENT SUBQUERY t1 index NULL a 10 NULL 1 Using index
|
||||||
EXPLAIN SELECT 1 FROM t1 AS t1_outer GROUP BY a HAVING
|
EXPLAIN SELECT 1 FROM t1 AS t1_outer GROUP BY a HAVING
|
||||||
a > (SELECT max(b) FROM t1 GROUP BY a HAVING a < 2);
|
a > (SELECT max(b) FROM t1 GROUP BY a HAVING a < 2);
|
||||||
|
@@ -55,7 +55,7 @@ id data data
|
|||||||
2 female no
|
2 female no
|
||||||
select t1.id from t1 union select t2.id from t2;
|
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
|
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
|
id
|
||||||
1
|
1
|
||||||
2
|
2
|
||||||
@@ -66,7 +66,7 @@ insert into t1 values (2,'two');
|
|||||||
set @arg00=1 ;
|
set @arg00=1 ;
|
||||||
select @arg00 FROM t1 where a=1 union distinct select 1 FROM t1 where a=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
|
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
|
@arg00
|
||||||
1
|
1
|
||||||
select * from (select @arg00) aaa;
|
select * from (select @arg00) aaa;
|
||||||
@@ -76,7 +76,7 @@ def aaa @arg00 @arg00 8 20 1 Y 32768 0 63
|
|||||||
1
|
1
|
||||||
select 1 union select 1;
|
select 1 union select 1;
|
||||||
Catalog Database Table Table_alias Column Column_alias Type Length Max length Is_null Flags Decimals Charsetnr
|
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
|
||||||
1
|
1
|
||||||
select * from (select 1 union select 1) aaa;
|
select * from (select 1 union select 1) aaa;
|
||||||
|
@@ -5926,7 +5926,7 @@ void JOIN::get_partial_cost_and_fanout(uint end_tab_idx,
|
|||||||
{
|
{
|
||||||
double record_count= 1;
|
double record_count= 1;
|
||||||
double read_time= 0.0;
|
double read_time= 0.0;
|
||||||
double sj_inner_fanout;
|
double sj_inner_fanout= 1.0;
|
||||||
JOIN_TAB *end_tab= NULL;
|
JOIN_TAB *end_tab= NULL;
|
||||||
JOIN_TAB *tab;
|
JOIN_TAB *tab;
|
||||||
uint i;
|
uint i;
|
||||||
|
Reference in New Issue
Block a user