mirror of
https://github.com/MariaDB/server.git
synced 2025-08-08 11:22:35 +03:00
A clean-up patch for Item_func_conv_charset (needed for MDEV-9181)
Removing the "conv_charset" member and using collation.collation instead, as they duplicated each other.
This commit is contained in:
@@ -4041,7 +4041,7 @@ int spider_db_mysql_util::open_item_func(
|
||||
{
|
||||
Item_func_conv_charset *item_func_conv_charset =
|
||||
(Item_func_conv_charset *)item_func;
|
||||
CHARSET_INFO *conv_charset = item_func_conv_charset->conv_charset;
|
||||
CHARSET_INFO *conv_charset = item_func_conv_charset->collation.collation;
|
||||
uint cset_length = strlen(conv_charset->csname);
|
||||
if (str->reserve(SPIDER_SQL_USING_LEN + cset_length))
|
||||
DBUG_RETURN(HA_ERR_OUT_OF_MEM);
|
||||
|
Reference in New Issue
Block a user