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:
@ -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;
|
||||
|
Reference in New Issue
Block a user