mirror of
https://github.com/MariaDB/server.git
synced 2026-01-06 05:22:24 +03:00
EXPLAIN FORMAT=JSON: Add support for single-table UPDATE/DELETE.
This commit is contained in:
@@ -70,5 +70,15 @@ select * from t1 A, t1 B where A.a=B.a and A.b < 3 and B.b < 5;
|
||||
|
||||
drop table t1;
|
||||
|
||||
--echo #
|
||||
--echo # Single-table UPDATE/DELETE
|
||||
--echo #
|
||||
explain format=json delete from t0;
|
||||
explain format=json delete from t0 where 1 > 2;
|
||||
|
||||
explain format=json delete from t0 where a < 3;
|
||||
|
||||
explain format=json update t0 set a=3 where a in (2,3,4);
|
||||
|
||||
drop table t0;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user