Closed gordan-bobic closed 1 year ago
This is similar to https://github.com/shatteredsilicon/ssm-submodules/issues/112
DELETE statements can't have an EXPLAIN, but they could be re-written into equivalent SELECTs, e.g. by replacing:
DELETE ... FROM ...
with
SELECT * FROM ...
It would be really useful to have the EXPLAIN of the SELECT equivalent.
Note: Newer versions of MySQL / MariaDB may support EXPLAIN for DELETEs, where available we should use the native EXPLAIN.
This is similar to https://github.com/shatteredsilicon/ssm-submodules/issues/112
DELETE statements can't have an EXPLAIN, but they could be re-written into equivalent SELECTs, e.g. by replacing:
with
It would be really useful to have the EXPLAIN of the SELECT equivalent.
Note: Newer versions of MySQL / MariaDB may support EXPLAIN for DELETEs, where available we should use the native EXPLAIN.