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

MDEV-25259 JSON_TABLE: Illegal mix of collations upon executing query with combination of charsets via view.

now the ::print printed too much. Limit it for fields with no CHARSET
possible.
This commit is contained in:
Alexey Botchkov
2021-04-13 03:28:56 +04:00
parent a2ce788f02
commit a5b454f98a
5 changed files with 17 additions and 9 deletions

View File

@ -161,7 +161,7 @@ public:
}
int set(THD *thd, enum_type ctype, const LEX_CSTRING &path);
Json_table_column(Create_field *f, Json_table_nested_path *nest) :
m_field(f), m_nest(nest)
m_field(f), m_nest(nest), m_explicit_cs(NULL)
{
m_on_error.m_response= RESPONSE_NOT_SPECIFIED;
m_on_empty.m_response= RESPONSE_NOT_SPECIFIED;