summaryrefslogtreecommitdiff
path: root/sql/opt_histogram_json.cc
diff options
context:
space:
mode:
authorSergei Petrunia <psergey@askmonty.org>2021-12-02 14:38:51 +0300
committerSergei Petrunia <psergey@askmonty.org>2022-01-19 18:10:11 +0300
commita0f93f433aa0a522f4a3311ca83a53677a83bb3b (patch)
tree764d8262ce01ff516fd3c9f1378f3e99c8bf1963 /sql/opt_histogram_json.cc
parent1d14176ec4e74fcae165bf9633f2763805d9768a (diff)
downloadmariadb-git-a0f93f433aa0a522f4a3311ca83a53677a83bb3b.tar.gz
Rename histogram_hb_v2 -> histogram_hb
Diffstat (limited to 'sql/opt_histogram_json.cc')
-rw-r--r--sql/opt_histogram_json.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/sql/opt_histogram_json.cc b/sql/opt_histogram_json.cc
index 4439b6d5075..8e04931b71c 100644
--- a/sql/opt_histogram_json.cc
+++ b/sql/opt_histogram_json.cc
@@ -650,7 +650,7 @@ bool Histogram_json_hb::parse(MEM_ROOT *mem_root, const char *db_name,
if (je.state != JST_KEY || !json_key_matches(&je, hist_key_name.get()))
{
- err= "Root element must be histogram_hb_v2";
+ err= "Root element must be histogram_hb";
goto err;
}
@@ -659,7 +659,7 @@ bool Histogram_json_hb::parse(MEM_ROOT *mem_root, const char *db_name,
if (je.state != JST_ARRAY_START)
{
- err= "histogram_hb_v2 must contain an array";
+ err= "histogram_hb must contain an array";
goto err;
}