diff options
Diffstat (limited to 'storage/myisam/mi_unique.c')
-rw-r--r-- | storage/myisam/mi_unique.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/storage/myisam/mi_unique.c b/storage/myisam/mi_unique.c index 5d16efb96a1..e1d7aeaa711 100644 --- a/storage/myisam/mi_unique.c +++ b/storage/myisam/mi_unique.c @@ -1,5 +1,6 @@ /* Copyright (c) 2000, 2010, Oracle and/or its affiliates + Copyright (c) 2020, MariaDB Corporation. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -121,9 +122,9 @@ ha_checksum mi_unique_hash(MI_UNIQUEDEF *def, const uchar *record) if (type == HA_KEYTYPE_TEXT || type == HA_KEYTYPE_VARTEXT1 || type == HA_KEYTYPE_VARTEXT2) { - keyseg->charset->coll->hash_sort(keyseg->charset, - (const uchar*) pos, length, &seed1, - &seed2); + my_ci_hash_sort(keyseg->charset, + (const uchar*) pos, length, + &seed1, &seed2); crc^= seed1; } else |