summaryrefslogtreecommitdiff
path: root/sql/item_jsonfunc.h
diff options
context:
space:
mode:
authorAlexander Barkov <bar@mariadb.org>2017-09-13 12:12:05 +0400
committerAlexander Barkov <bar@mariadb.org>2017-09-13 12:12:05 +0400
commit178540b904f3eca70488a3d1a0a55f5676087c04 (patch)
treec6b011a292ea8a3510dae01aa3ea43e87cf3662f /sql/item_jsonfunc.h
parent3a9ee22ba924160cbc5a4dd3fd047d62f11dabd2 (diff)
parenta237a920991f417e9a4567957f4fc7aa5b538270 (diff)
downloadmariadb-git-178540b904f3eca70488a3d1a0a55f5676087c04.tar.gz
Merge remote-tracking branch 'origin/10.2' into bb-10.2-ext
Diffstat (limited to 'sql/item_jsonfunc.h')
-rw-r--r--sql/item_jsonfunc.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sql/item_jsonfunc.h b/sql/item_jsonfunc.h
index 97f144c0fd3..7da72dc7f89 100644
--- a/sql/item_jsonfunc.h
+++ b/sql/item_jsonfunc.h
@@ -99,6 +99,7 @@ class Item_func_json_query: public Item_func_json_value
public:
Item_func_json_query(THD *thd, Item *js, Item *i_path):
Item_func_json_value(thd, js, i_path) {}
+ bool is_json_type() { return true; }
const char *func_name() const { return "json_query"; }
bool check_and_get_value(json_engine_t *je, String *res, int *error);
Item *get_copy(THD *thd, MEM_ROOT *mem_root)