1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-30 16:24:05 +03:00

sql_select.cc:

binary comparing alway must be used, because sort_string() is executed for textual data.


sql/sql_select.cc:
  binary comparing alway must be used, because sort_string() is executed for textual data.
This commit is contained in:
unknown
2003-03-17 10:47:08 +04:00
parent 59bf6f6ea5
commit 11bd599063

View File

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