summaryrefslogtreecommitdiff
path: root/sql/opt_histogram_json.cc
diff options
context:
space:
mode:
Diffstat (limited to 'sql/opt_histogram_json.cc')
-rw-r--r--sql/opt_histogram_json.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/opt_histogram_json.cc b/sql/opt_histogram_json.cc
index 9d2da136ced..66377d55aec 100644
--- a/sql/opt_histogram_json.cc
+++ b/sql/opt_histogram_json.cc
@@ -285,7 +285,7 @@ bool Histogram_json_hb::parse(MEM_ROOT *mem_root, Field *field,
const char *hist_array;
int hist_array_len;
if (JSV_ARRAY != json_get_object_key(obj1, obj1 + obj1_len,
- "histogram_hb_v2", &hist_array,
+ JSON_NAME, &hist_array,
&hist_array_len))
{
err_pos= obj1;