mirror of
https://github.com/MariaDB/server.git
synced 2025-07-27 18:02:13 +03:00
MDEV-28926 Add time spent on query optimizer to JSON ANALYZE (#2193)
* Add query optimizer timer to ANALYZE FORMAT=JSON * Adapt tests and results * Change logic to always close the writer after printing query blocks
This commit is contained in:
committed by
Sergei Petrunia
parent
f45f60636f
commit
ad7631bdce
@ -932,6 +932,7 @@ values (1,2);
|
||||
analyze
|
||||
values (1,2);
|
||||
|
||||
--source include/analyze-format.inc
|
||||
analyze format=json
|
||||
values (1,2);
|
||||
|
||||
@ -952,16 +953,19 @@ values (5,6)
|
||||
union
|
||||
values (1,2),(3,4);
|
||||
|
||||
--source include/analyze-format.inc
|
||||
analyze format=json
|
||||
select 1,2
|
||||
union
|
||||
values (1,2),(3,4);
|
||||
|
||||
--source include/analyze-format.inc
|
||||
analyze format=json
|
||||
values (1,2),(3,4)
|
||||
union
|
||||
select 1,2;
|
||||
|
||||
--source include/analyze-format.inc
|
||||
analyze format=json
|
||||
values (5,6)
|
||||
union
|
||||
@ -974,6 +978,7 @@ values (3,4)
|
||||
union
|
||||
values (1,2);
|
||||
|
||||
--source include/analyze-format.inc
|
||||
analyze format=json
|
||||
select 1,2
|
||||
union
|
||||
@ -998,16 +1003,19 @@ values (1,2)
|
||||
union all
|
||||
values (1,2),(3,4);
|
||||
|
||||
--source include/analyze-format.inc
|
||||
analyze format=json
|
||||
values (1,2),(3,4)
|
||||
union all
|
||||
select 1,2;
|
||||
|
||||
--source include/analyze-format.inc
|
||||
analyze format=json
|
||||
select 1,2
|
||||
union
|
||||
values (1,2),(3,4);
|
||||
|
||||
--source include/analyze-format.inc
|
||||
analyze format=json
|
||||
values (1,2)
|
||||
union all
|
||||
@ -1020,6 +1028,7 @@ values (3,4)
|
||||
union all
|
||||
values (1,2);
|
||||
|
||||
--source include/analyze-format.inc
|
||||
analyze format=json
|
||||
select 1,2
|
||||
union all
|
||||
|
Reference in New Issue
Block a user