mirror of
https://github.com/percona/percona-toolkit.git
synced 2025-09-06 12:27:56 +00:00
PR-471 - Support adding explain output for slow query in JSON report as well
- Put fix into the proper place - Added test cases
This commit is contained in:
@@ -8080,7 +8080,7 @@ override query_report => sub {
|
||||
ts => $sample->{ts} ? parse_timestamp($sample->{ts}) : undef,
|
||||
Query_time => $sample->{Query_time},
|
||||
$explain ?
|
||||
( explain => $explain ): (),
|
||||
( explain => $explain ): (),
|
||||
},
|
||||
),
|
||||
};
|
||||
|
Reference in New Issue
Block a user