Commit c0463704 authored by Sergei Golubchik's avatar Sergei Golubchik

fix the test for --view

parent aca641da
...@@ -18384,7 +18384,7 @@ from ...@@ -18384,7 +18384,7 @@ from
(select a, sum(b) as s from t2 group by a) as dt, (select a, sum(b) as s from t2 group by a) as dt,
t3 t3
where dt.a=t1.a and t3.a < 3 where dt.a=t1.a and t3.a < 3
) ) as sq
from t1 limit 5; from t1 limit 5;
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 ALL NULL NULL NULL NULL 1000 1 PRIMARY t1 ALL NULL NULL NULL NULL 1000
...@@ -18398,14 +18398,9 @@ from ...@@ -18398,14 +18398,9 @@ from
(select a, sum(b) as s from t2 group by a) as dt, (select a, sum(b) as s from t2 group by a) as dt,
t3 t3
where dt.a=t1.a and t3.a < 3 where dt.a=t1.a and t3.a < 3
) ) as sq
from t1 limit 5; from t1 limit 5;
a ( select concat(t3.a,'=',dt.s) a sq
from
(select a, sum(b) as s from t2 group by a) as dt,
t3
where dt.a=t1.a and t3.a < 3
)
1 1=804 1 1=804
2 1=1056 2 1=1056
3 1=846 3 1=846
...@@ -18424,7 +18419,7 @@ from ...@@ -18424,7 +18419,7 @@ from
(select a, sum(b) as s from t2 group by a) as dt, (select a, sum(b) as s from t2 group by a) as dt,
t3 t3
where dt.a=t1.a and t3.a < 3 where dt.a=t1.a and t3.a < 3
) ) as sq
from t1 limit 5; from t1 limit 5;
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 ALL NULL NULL NULL NULL 1000 1 PRIMARY t1 ALL NULL NULL NULL NULL 1000
...@@ -18438,14 +18433,9 @@ from ...@@ -18438,14 +18433,9 @@ from
(select a, sum(b) as s from t2 group by a) as dt, (select a, sum(b) as s from t2 group by a) as dt,
t3 t3
where dt.a=t1.a and t3.a < 3 where dt.a=t1.a and t3.a < 3
) ) as sq
from t1 limit 5; from t1 limit 5;
a ( select concat(t3.a,'=',dt.s) a sq
from
(select a, sum(b) as s from t2 group by a) as dt,
t3
where dt.a=t1.a and t3.a < 3
)
1 1=11858 1 1=11858
2 1=11380 2 1=11380
3 1=11588 3 1=11588
......
...@@ -3997,7 +3997,7 @@ select ...@@ -3997,7 +3997,7 @@ select
(select a, sum(b) as s from t2 group by a) as dt, (select a, sum(b) as s from t2 group by a) as dt,
t3 t3
where dt.a=t1.a and t3.a < 3 where dt.a=t1.a and t3.a < 3
) ) as sq
from t1 limit 5; from t1 limit 5;
eval explain $q; eval explain $q;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment