Browse Source

fix the test for --view

pull/2661/head
Sergei Golubchik 2 years ago
parent
commit
c0463704c2
  1. 22
      mysql-test/main/derived_cond_pushdown.result
  2. 2
      mysql-test/main/derived_cond_pushdown.test

22
mysql-test/main/derived_cond_pushdown.result

@ -18384,7 +18384,7 @@ from
(select a, sum(b) as s from t2 group by a) as dt,
t3
where dt.a=t1.a and t3.a < 3
)
) as sq
from t1 limit 5;
id select_type table type possible_keys key key_len ref rows Extra
1 PRIMARY t1 ALL NULL NULL NULL NULL 1000
@ -18398,14 +18398,9 @@ from
(select a, sum(b) as s from t2 group by a) as dt,
t3
where dt.a=t1.a and t3.a < 3
)
) as sq
from t1 limit 5;
a ( select concat(t3.a,'=',dt.s)
from
(select a, sum(b) as s from t2 group by a) as dt,
t3
where dt.a=t1.a and t3.a < 3
)
a sq
1 1=804
2 1=1056
3 1=846
@ -18424,7 +18419,7 @@ from
(select a, sum(b) as s from t2 group by a) as dt,
t3
where dt.a=t1.a and t3.a < 3
)
) as sq
from t1 limit 5;
id select_type table type possible_keys key key_len ref rows Extra
1 PRIMARY t1 ALL NULL NULL NULL NULL 1000
@ -18438,14 +18433,9 @@ from
(select a, sum(b) as s from t2 group by a) as dt,
t3
where dt.a=t1.a and t3.a < 3
)
) as sq
from t1 limit 5;
a ( select concat(t3.a,'=',dt.s)
from
(select a, sum(b) as s from t2 group by a) as dt,
t3
where dt.a=t1.a and t3.a < 3
)
a sq
1 1=11858
2 1=11380
3 1=11588

2
mysql-test/main/derived_cond_pushdown.test

@ -3997,7 +3997,7 @@ select
(select a, sum(b) as s from t2 group by a) as dt,
t3
where dt.a=t1.a and t3.a < 3
)
) as sq
from t1 limit 5;
eval explain $q;

Loading…
Cancel
Save