Fix testcase for MDEV-31240 to work with --view-protocol.

This commit is contained in:
Sergei Petrunia 2023-06-08 11:35:21 +03:00
parent 78b1831c9f
commit 2165c30486
2 changed files with 7 additions and 17 deletions

View file

@ -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 SUBQ
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 SUBQ
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 SUBQ
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 SUBQ
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 SUBQ
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 SUBQ
1 1=11858
2 1=11380
3 1=11588

View file

@ -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 SUBQ
from t1 limit 5;
eval explain $q;