MDEV-25875: JSON_TABLE: extract document fragment into JSON column
Fixup
This commit is contained in:
parent
a9f6abedde
commit
a61603562e
@ -897,7 +897,7 @@ int Json_table_column::set(THD *thd, enum_type ctype, const LEX_CSTRING &path,
|
|||||||
m_path.s.c_str= (const uchar *) path.str;
|
m_path.s.c_str= (const uchar *) path.str;
|
||||||
|
|
||||||
if (ctype == PATH)
|
if (ctype == PATH)
|
||||||
m_format_json= m_field->type_handler() == &type_handler_json_longtext;
|
m_format_json= m_field->type_handler() == &type_handler_long_blob_json;
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user