1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-29 05:21:33 +03:00

MDEV-16708: Fixed the failed test main.join_cache

This commit is contained in:
Dmitry Shulga
2021-05-18 08:50:57 +07:00
committed by Sergei Golubchik
parent 129098b70c
commit b33111ba93
2 changed files with 4 additions and 4 deletions

View File

@ -3998,12 +3998,12 @@ insert into t1 values (1), (2);
insert into t2 values (1), (2);
insert into t3 values (2);
set @counter=0;
explain
select count(*) from t1 straight_join t2
where c1 = c2-0 and c2 <= (select max(c3) from t3 where c3 = 2 and @counter:=@counter+1);
set @counter=0;
select count(*) from t1 straight_join t2
where c1 = c2-0 and c2 <= (select max(c3) from t3 where c3 = 2 and @counter:=@counter+1);