mirror of
https://github.com/MariaDB/server.git
synced 2025-07-27 18:02:13 +03:00
MDEV-19566 Remove Item::name related strlen() calls in constructors of some Item_string descendands
This commit is contained in:
@ -2516,8 +2516,7 @@ THD::make_string_literal_charset(const Lex_string_with_metadata_st &str,
|
||||
{
|
||||
if (!str.length && (variables.sql_mode & MODE_EMPTY_STRING_IS_NULL))
|
||||
return new (mem_root) Item_null(this, 0, cs);
|
||||
return new (mem_root) Item_string_with_introducer(this,
|
||||
str.str, (uint)str.length, cs);
|
||||
return new (mem_root) Item_string_with_introducer(this, str, cs);
|
||||
}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user