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

MDEV-27696 Json table columns accept redundant COLLATE syntax

This commit is contained in:
Alexander Barkov
2022-01-31 21:18:43 +04:00
parent 2d4a0f6079
commit 2a0962f39b
5 changed files with 69 additions and 32 deletions

View File

@ -159,7 +159,7 @@ public:
{
m_column_type= ctype;
}
int set(THD *thd, enum_type ctype, const LEX_CSTRING &path);
int set(THD *thd, enum_type ctype, const LEX_CSTRING &path, CHARSET_INFO *cs);
Json_table_column(Create_field *f, Json_table_nested_path *nest) :
m_field(f), m_nest(nest), m_explicit_cs(NULL)
{