mirror of
https://github.com/MariaDB/server.git
synced 2025-07-18 23:03:28 +03:00
MDEV-19599 Change db_name, table_name to LEX_CSTRING in Item_ident and Send_field
This commit is contained in:
@ -119,10 +119,8 @@ int make_profile_table_for_show(THD *thd, ST_SCHEMA_TABLE *schema_table)
|
||||
continue;
|
||||
|
||||
field_info= &schema_table->fields_info[i];
|
||||
LEX_CSTRING field_name= {field_info->field_name,
|
||||
strlen(field_info->field_name) };
|
||||
Item_field *field= new (thd->mem_root) Item_field(thd, context,
|
||||
NullS, NullS, &field_name);
|
||||
Lex_cstring_strlen(field_info->field_name));
|
||||
if (field)
|
||||
{
|
||||
field->set_name(thd, field_info->get_old_name());
|
||||
|
Reference in New Issue
Block a user