mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
MDEV-19566 Remove Item::name related strlen() calls in constructors of some Item_string descendands
This commit is contained in:
@ -125,9 +125,7 @@ int make_profile_table_for_show(THD *thd, ST_SCHEMA_TABLE *schema_table)
|
||||
NullS, NullS, &field_name);
|
||||
if (field)
|
||||
{
|
||||
field->set_name(thd, field_info->old_name,
|
||||
(uint) strlen(field_info->old_name),
|
||||
system_charset_info);
|
||||
field->set_name(thd, field_info->get_old_name());
|
||||
if (add_item_to_list(thd, field))
|
||||
return 1;
|
||||
}
|
||||
|
Reference in New Issue
Block a user