mirror of
https://github.com/MariaDB/server.git
synced 2026-04-30 12:15:32 +02:00
MDEV-11205 UDF_ARGS "attribute_lengths" incorrect value.
Set name_length properly in Item_idnet constructors.
This commit is contained in:
parent
c9883b7591
commit
7e44eabdad
1 changed files with 2 additions and 0 deletions
|
|
@ -817,6 +817,7 @@ Item_ident::Item_ident(Name_resolution_context *context_arg,
|
|||
cached_table(0), depended_from(0), can_be_depended(TRUE)
|
||||
{
|
||||
name = (char*) field_name_arg;
|
||||
name_length= name ? strlen(name) : 0;
|
||||
}
|
||||
|
||||
|
||||
|
|
@ -829,6 +830,7 @@ Item_ident::Item_ident(TABLE_LIST *view_arg, const char *field_name_arg)
|
|||
cached_table(NULL), depended_from(NULL), can_be_depended(TRUE)
|
||||
{
|
||||
name = (char*) field_name_arg;
|
||||
name_length= name ? strlen(name) : 0;
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue