mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
Item character set is stored in Item itself now, not in ITem->str_value
This commit is contained in:
@ -4142,10 +4142,10 @@ Field *create_tmp_field(THD *thd, TABLE *table,Item *item, Item::Type type,
|
||||
case STRING_RESULT:
|
||||
if (item->max_length > 255)
|
||||
new_field= new Field_blob(item->max_length,maybe_null,
|
||||
item->name,table,item->str_value.charset());
|
||||
item->name,table,item->charset());
|
||||
else
|
||||
new_field= new Field_string(item->max_length,maybe_null,
|
||||
item->name,table,item->str_value.charset());
|
||||
item->name,table,item->charset());
|
||||
break;
|
||||
case ROW_RESULT:
|
||||
default:
|
||||
|
Reference in New Issue
Block a user