1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-27 18:02:13 +03:00

Fixed the results after the merge of 10.4 into bb-10.4-mdev16188.

This commit is contained in:
Igor Babaev
2019-02-03 22:26:39 -08:00
parent 37deed3f37
commit cfd2646c31
31 changed files with 181 additions and 109 deletions

View File

@ -48,7 +48,7 @@ rollback;
start transaction;
explain delete from v1 where (select count(*) from t1 b where b.c1=v1.c1) = 500 limit 1;
id select_type table type possible_keys key key_len ref rows Extra
1 PRIMARY t1 range c1 c1 4 NULL 600 Using where
1 PRIMARY t1 range c1 c1 4 NULL 502 Using where
2 DEPENDENT SUBQUERY b ref c1 c1 4 test.t1.c1 167 Using index
delete from v1 where (select count(*) from t1 b where b.c1=v1.c1) = 500 limit 1;
affected rows: 1