SELECT DISTINCT CONVERT(field USING charset) now works properly

This commit is contained in:
unknown 2002-06-26 18:08:33 +05:00
parent 328d6f42fc
commit 0d354e47ff

View File

@ -1925,6 +1925,7 @@ bool Item_func_conv_charset::fix_fields(THD *thd,struct st_table_list *tables)
return 1;
maybe_null=args[0]->maybe_null;
binary=args[0]->binary;
const_item_cache=args[0]->const_item();
str_value.set_charset(conv_charset);
fix_length_and_dec();
return 0;