mirror of
https://github.com/MariaDB/server.git
synced 2025-07-27 18:02:13 +03:00
WL#3823 Modify VARIABLE_VALUE columns to VARCHAR within INFORMATION_SCHEMA STATUS tables
This commit is contained in:
@ -9133,8 +9133,7 @@ Field *create_tmp_field_for_schema(THD *thd, Item *item, TABLE *table)
|
||||
if (item->field_type() == MYSQL_TYPE_VARCHAR)
|
||||
{
|
||||
Field *field;
|
||||
if (item->max_length > MAX_FIELD_VARCHARLENGTH /
|
||||
item->collation.collation->mbmaxlen)
|
||||
if (item->max_length > MAX_FIELD_VARCHARLENGTH)
|
||||
field= new Field_blob(item->max_length, item->maybe_null,
|
||||
item->name, item->collation.collation);
|
||||
else
|
||||
|
Reference in New Issue
Block a user