diff options
author | Oleg Smirnov <olernov@gmail.com> | 2022-02-16 13:03:46 +0700 |
---|---|---|
committer | Sergei Petrunia <sergey@mariadb.com> | 2022-04-29 10:48:25 +0300 |
commit | a0475cb9ca2b98d5c95f021e6d8c57dcba238397 (patch) | |
tree | 4da540e0f95e2e65628597cee8bfdb4bee0de3c5 /mysql-test/include/analyze-format.inc | |
parent | d1a1ad4c28f3e608901406d13db96e1ec1672458 (diff) | |
download | mariadb-git-a0475cb9ca2b98d5c95f021e6d8c57dcba238397.tar.gz |
MDEV-27021 Add explicit indication of SHOW EXPLAIN/ANALYZE.
1. Add explicit indication that the output is produced by
SHOW EXPLAIN/ANALYZE FORMAT=JSON command.
2. Remove useless "r_total_time_ms" field from SHOW ANALYZE FORMAT=JSON
output when there is no timed statistics gathered.
3. Add "r_query_time_in_progress_ms" to the output of SHOW ANALYZE FORMAT=JSON.
Diffstat (limited to 'mysql-test/include/analyze-format.inc')
-rw-r--r-- | mysql-test/include/analyze-format.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mysql-test/include/analyze-format.inc b/mysql-test/include/analyze-format.inc index 7e18524e44e..7d1c48f3e6f 100644 --- a/mysql-test/include/analyze-format.inc +++ b/mysql-test/include/analyze-format.inc @@ -1,3 +1,3 @@ # The time on ANALYSE FORMAT=JSON is rather variable ---replace_regex /("(r_total_time_ms|r_table_time_ms|r_other_time_ms|r_buffer_size|r_filling_time_ms)": )[^, \n]*/\1"REPLACED"/ +--replace_regex /("(r_total_time_ms|r_table_time_ms|r_other_time_ms|r_buffer_size|r_filling_time_ms|r_query_time_in_progress_ms)": )[^, \n]*/\1"REPLACED"/ |