Commit e00c9fa7 authored by bar@bar.mysql.r18.ru's avatar bar@bar.mysql.r18.ru

sql_select.cc:

  binary comparing alway must be used, because sort_string() is executed for textual data.
parent ce7db282
......@@ -6710,8 +6710,7 @@ static int remove_dup_with_hash_index(THD *thd, TABLE *table,
NullS))
DBUG_RETURN(1);
// BAR TODO: this must be fixed to use charset from "table" argument
if (hash_init(&hash, default_charset_info, (uint) file->records, 0,
if (hash_init(&hash, &my_charset_bin, (uint) file->records, 0,
key_length,(hash_get_key) 0, 0, 0))
{
my_free((char*) key_buffer,MYF(0));
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment