summaryrefslogtreecommitdiff
path: root/myisam/mi_open.c
diff options
context:
space:
mode:
authorunknown <bar@bar.mysql.r18.ru>2002-10-09 15:40:57 +0500
committerunknown <bar@bar.mysql.r18.ru>2002-10-09 15:40:57 +0500
commitf5eacb1799b6647fad6c4a669be5eedbc7dfd499 (patch)
tree789cf07703286e15a43c1ad76c547ec3debe3a8b /myisam/mi_open.c
parenta51eee20b80a25d25c03efa64c3b393e092ecd86 (diff)
downloadmariadb-git-f5eacb1799b6647fad6c4a669be5eedbc7dfd499.tar.gz
Simple charsets now have strncoll() field too
Diffstat (limited to 'myisam/mi_open.c')
-rw-r--r--myisam/mi_open.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/myisam/mi_open.c b/myisam/mi_open.c
index b05a8175a6e..cd11f190d24 100644
--- a/myisam/mi_open.c
+++ b/myisam/mi_open.c
@@ -685,7 +685,7 @@ static void setup_key_functions(register MI_KEYDEF *keyinfo)
keyinfo->get_key= _mi_get_pack_key;
if (keyinfo->seg[0].flag & HA_PACK_KEY)
{ /* Prefix compression */
- if (!keyinfo->seg->charset || use_strcoll(keyinfo->seg->charset) ||
+ if (!keyinfo->seg->charset || use_strnxfrm(keyinfo->seg->charset) ||
(keyinfo->seg->flag & HA_NULL_PART))
keyinfo->bin_search=_mi_seq_search;
else