mirror of
https://github.com/MariaDB/server.git
synced 2025-08-01 03:47:19 +03:00
SELECT left(non_default_charset_field,n) GROUP BY 1
now works more correctly. Still needs fixes.
This commit is contained in:
@ -3579,7 +3579,8 @@ Field *create_tmp_field(THD *thd, TABLE *table,Item *item, Item::Type type,
|
||||
item->name,table,item->binary);
|
||||
else
|
||||
new_field= new Field_string(item->max_length,maybe_null,
|
||||
item->name,table,item->binary,default_charset_info);
|
||||
item->name,table,item->binary,
|
||||
item->str_value.charset());
|
||||
break;
|
||||
}
|
||||
if (copy_func)
|
||||
|
Reference in New Issue
Block a user