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:
committed by
Sergei Golubchik
parent
129098b70c
commit
b33111ba93
@ -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);
|
||||
|
||||
|
Reference in New Issue
Block a user