Skip to content
Permalink
Browse files
MDEV-11205 UDF_ARGS "attribute_lengths" incorrect value.
        Set name_length properly in Item_idnet constructors.
  • Loading branch information
Alexey Botchkov committed Jul 18, 2017
1 parent c9883b7 commit 7e44eab
Showing 1 changed file 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;
}


0 comments on commit 7e44eab

Please sign in to comment.