diff options
author | unknown <bar@bar.mysql.r18.ru> | 2003-03-17 10:47:08 +0400 |
---|---|---|
committer | unknown <bar@bar.mysql.r18.ru> | 2003-03-17 10:47:08 +0400 |
commit | 11bd5990630ed03a50ae8b3e586a91a39ca9136b (patch) | |
tree | 6746adce1345fcfbf392a46ac73ee566edcd144b /sql/sql_select.cc | |
parent | 59bf6f6ea5964cb2dab13f19e147c6780cf47860 (diff) | |
download | mariadb-git-11bd5990630ed03a50ae8b3e586a91a39ca9136b.tar.gz |
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.
Diffstat (limited to 'sql/sql_select.cc')
-rw-r--r-- | sql/sql_select.cc | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sql/sql_select.cc b/sql/sql_select.cc index 3e20f21f567..f92e9804973 100644 --- a/sql/sql_select.cc +++ b/sql/sql_select.cc @@ -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)); |