summaryrefslogtreecommitdiff
path: root/mysql-test/include/json_hb_histogram.inc
diff options
context:
space:
mode:
authorSergei Petrunia <psergey@askmonty.org>2021-12-03 18:08:10 +0300
committerSergei Petrunia <psergey@askmonty.org>2022-01-19 18:10:12 +0300
commitc2d2c1e727b744c88f4a69bde4c1f45344c2c758 (patch)
tree211a59ea025b492460137d824bf20e6ef4cdf7f7 /mysql-test/include/json_hb_histogram.inc
parenta0916cf5a2bb67a6bfa85cc2363e11a8f292c366 (diff)
downloadmariadb-git-c2d2c1e727b744c88f4a69bde4c1f45344c2c758.tar.gz
MDEV-26519: Improved histograms
Save extra information in the histogram: "target_histogram_size": nnn, "collected_at": "(date and time)", "collected_by": "(server version)",
Diffstat (limited to 'mysql-test/include/json_hb_histogram.inc')
-rw-r--r--mysql-test/include/json_hb_histogram.inc3
1 files changed, 3 insertions, 0 deletions
diff --git a/mysql-test/include/json_hb_histogram.inc b/mysql-test/include/json_hb_histogram.inc
new file mode 100644
index 00000000000..0805a7f0e53
--- /dev/null
+++ b/mysql-test/include/json_hb_histogram.inc
@@ -0,0 +1,3 @@
+# The time on ANALYSE FORMAT=JSON is rather variable
+
+--replace_regex /("(collected_at|collected_by)": )"[^"]*"/\1"REPLACED"/