mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
Fixed results for main.delete_use_source to make it repeatable
This commit is contained in:
@ -64,8 +64,8 @@ rollback;
|
|||||||
start transaction;
|
start transaction;
|
||||||
explain delete from v1 where (select count(*) from t1 b where b.c1=v1.c1) = 500;
|
explain delete from v1 where (select count(*) from t1 b where b.c1=v1.c1) = 500;
|
||||||
id select_type table type possible_keys key key_len ref rows Extra
|
id select_type table type possible_keys key key_len ref rows Extra
|
||||||
1 PRIMARY t1 ALL c1 NULL NULL NULL 670 Using where
|
1 PRIMARY t1 ALL c1 NULL NULL NULL # Using where
|
||||||
2 DEPENDENT SUBQUERY b ref c1 c1 4 test.t1.c1 83 Using index
|
2 DEPENDENT SUBQUERY b ref c1 c1 4 test.t1.c1 # Using index
|
||||||
delete from v1 where (select count(*) from t1 b where b.c1=v1.c1) = 500 ;
|
delete from v1 where (select count(*) from t1 b where b.c1=v1.c1) = 500 ;
|
||||||
affected rows: 500
|
affected rows: 500
|
||||||
select count(*) from v1 where c1=0;
|
select count(*) from v1 where c1=0;
|
||||||
|
@ -64,6 +64,7 @@ rollback;
|
|||||||
--echo #
|
--echo #
|
||||||
|
|
||||||
start transaction;
|
start transaction;
|
||||||
|
--replace_column 9 #
|
||||||
explain delete from v1 where (select count(*) from t1 b where b.c1=v1.c1) = 500;
|
explain delete from v1 where (select count(*) from t1 b where b.c1=v1.c1) = 500;
|
||||||
--enable_info ONCE
|
--enable_info ONCE
|
||||||
delete from v1 where (select count(*) from t1 b where b.c1=v1.c1) = 500 ;
|
delete from v1 where (select count(*) from t1 b where b.c1=v1.c1) = 500 ;
|
||||||
|
Reference in New Issue
Block a user