diff options
| author | Dmitry Shulga <dmitry.shulga@mariadb.com> | 2021-05-18 08:50:57 +0700 |
|---|---|---|
| committer | Sergei Golubchik <serg@mariadb.org> | 2021-06-17 19:30:24 +0200 |
| commit | b33111ba93a6bc279a51b512033e42e702cf5ed7 (patch) | |
| tree | e2766341617a3ae23352bcc36857a1c0ef6d855a /mysql-test/main/join_cache.result | |
| parent | 129098b70ce4a30bad600ea4dc2703e4edadfe88 (diff) | |
| download | mariadb-git-b33111ba93a6bc279a51b512033e42e702cf5ed7.tar.gz | |
MDEV-16708: Fixed the failed test main.join_cache
Diffstat (limited to 'mysql-test/main/join_cache.result')
| -rw-r--r-- | mysql-test/main/join_cache.result | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mysql-test/main/join_cache.result b/mysql-test/main/join_cache.result index 79c5b7923bd..0fbb73f56fe 100644 --- a/mysql-test/main/join_cache.result +++ b/mysql-test/main/join_cache.result @@ -5993,14 +5993,14 @@ create table t3 (c3 int); 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); id select_type table type possible_keys key key_len ref rows Extra 1 PRIMARY t1 ALL NULL NULL NULL NULL 2 1 PRIMARY t2 ALL NULL NULL NULL NULL 2 Using where; Using join buffer (flat, BNL join) -2 UNCACHEABLE SUBQUERY NULL NULL NULL NULL NULL NULL NULL Impossible WHERE -set @counter=0; +2 UNCACHEABLE SUBQUERY t3 system NULL NULL NULL NULL 1 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); count(*) |
