1
0
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:
bar@gw.udmsearch.izhnet.ru
2002-06-20 22:52:56 +05:00
parent 5eafe401c0
commit 44347c5a54
4 changed files with 17 additions and 1 deletions

View File

@ -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)