1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-30 16:24:05 +03:00

MDEV-30032: EXPLAIN FORMAT=JSON output: print costs

Basic printout for join and table execution costs.
This commit is contained in:
Sergei Petrunia
2022-11-19 21:00:23 +03:00
parent 657868f5e7
commit ffe0beca25
91 changed files with 3441 additions and 18 deletions

View File

@ -2692,6 +2692,7 @@ let $query= SELECT t1.a
ORDER BY t1.a DESC;
eval EXPLAIN $query;
--source include/explain-no-costs.inc
eval EXPLAIN FORMAT=JSON $query;
eval $query;
@ -2701,6 +2702,7 @@ let $query= SELECT t1.a, group_concat(t1.b)
GROUP BY t1.a DESC;
eval EXPLAIN $query;
--source include/explain-no-costs.inc
eval EXPLAIN FORMAT=JSON $query;
eval $query;
DROP TABLE t1, t2;