summaryrefslogtreecommitdiff
path: root/sql/opt_range.cc
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
commitedb8ae0f3876d88c2ea8479afdc546ec3a18ea3b (patch)
tree789cf07703286e15a43c1ad76c547ec3debe3a8b /sql/opt_range.cc
parentac97cce4617a52d100cb2b5fa6c6c972c3510702 (diff)
downloadmariadb-git-edb8ae0f3876d88c2ea8479afdc546ec3a18ea3b.tar.gz
Simple charsets now have strncoll() field too
Diffstat (limited to 'sql/opt_range.cc')
-rw-r--r--sql/opt_range.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/opt_range.cc b/sql/opt_range.cc
index ed5b2b0a230..2b0ac08fe95 100644
--- a/sql/opt_range.cc
+++ b/sql/opt_range.cc
@@ -978,7 +978,7 @@ get_mm_leaf(PARAM *param, Field *field, KEY_PART *key_part,
{
CHARSET_INFO *charset=((Field_str*)(field))->charset();
#ifdef USE_STRCOLL
- if (use_strcoll(charset))
+ if (use_strnxfrm(charset))
like_error= my_like_range(charset,
res->ptr(),res->length(),wild_prefix,
field_length, min_str+maybe_null,