diff options
author | Alexey Botchkov <holyfoot@askmonty.org> | 2017-02-14 17:51:03 +0400 |
---|---|---|
committer | Alexey Botchkov <holyfoot@askmonty.org> | 2017-02-14 17:51:03 +0400 |
commit | f76d5fefb818760f41488c1793fca27d97c9c2a0 (patch) | |
tree | 29cea084ed332b568fe98c4a2140a131d652158c /sql/item_jsonfunc.h | |
parent | 2bf07556e8ba35ea166b1f603706851faa01d9c5 (diff) | |
download | mariadb-git-f76d5fefb818760f41488c1793fca27d97c9c2a0.tar.gz |
MDEV-11439 No data type JSON, but CAST(something AS JSON) pretends to
work.
json_detailed() fixed
Diffstat (limited to 'sql/item_jsonfunc.h')
-rw-r--r-- | sql/item_jsonfunc.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sql/item_jsonfunc.h b/sql/item_jsonfunc.h index 941123041d2..0eedfa18be1 100644 --- a/sql/item_jsonfunc.h +++ b/sql/item_jsonfunc.h @@ -443,8 +443,9 @@ protected: public: Item_func_json_format(THD *thd, Item *js, formats format): Item_str_func(thd, js), fmt(format) {} - Item_func_json_format(THD *thd, Item *js, Item *tabsize): - Item_str_func(thd, js, tabsize), fmt(DETAILED) {} + Item_func_json_format(THD *thd, List<Item> &list): + Item_str_func(thd, list), fmt(DETAILED) {} + const char *func_name() const; void fix_length_and_dec(); String *val_str(String *str); |