summaryrefslogtreecommitdiff
path: root/sql/sql_string.cc
diff options
context:
space:
mode:
authorbar@bar.mysql.r18.ru <>2002-10-09 15:40:57 +0500
committerbar@bar.mysql.r18.ru <>2002-10-09 15:40:57 +0500
commit954a47b95abd9540b6436303c5ba824ea74e083b (patch)
tree789cf07703286e15a43c1ad76c547ec3debe3a8b /sql/sql_string.cc
parent40c0fd1c6c1305a900a678f10555ed8727c7758c (diff)
downloadmariadb-git-954a47b95abd9540b6436303c5ba824ea74e083b.tar.gz
Simple charsets now have strncoll() field too
Diffstat (limited to 'sql/sql_string.cc')
-rw-r--r--sql/sql_string.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/sql_string.cc b/sql/sql_string.cc
index 6a42078cbcd..d2d14d4e7a2 100644
--- a/sql/sql_string.cc
+++ b/sql/sql_string.cc
@@ -505,7 +505,7 @@ int sortcmp(const String *x,const String *y)
uint32 x_len=x->length(),y_len=y->length(),len=min(x_len,y_len);
#ifdef USE_STRCOLL
- if (use_strcoll(x->str_charset))
+ if (use_strnxfrm(x->str_charset))
{
#ifndef CMP_ENDSPACE
while (x_len && my_isspace(x->str_charset,s[x_len-1]))