1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-30 16:24:05 +03:00

MDEV-11439 No data type JSON, but CAST(something AS JSON) pretends to

work.

        json_detailed() fixed
This commit is contained in:
Alexey Botchkov
2017-02-14 17:51:03 +04:00
parent 2bf07556e8
commit f76d5fefb8
5 changed files with 112 additions and 13 deletions

View File

@ -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);