summaryrefslogtreecommitdiff
path: root/client
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 /client
parentac97cce4617a52d100cb2b5fa6c6c972c3510702 (diff)
downloadmariadb-git-edb8ae0f3876d88c2ea8479afdc546ec3a18ea3b.tar.gz
Simple charsets now have strncoll() field too
Diffstat (limited to 'client')
-rw-r--r--client/sql_string.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/client/sql_string.cc b/client/sql_string.cc
index cf9e9f62507..65854ece0ef 100644
--- a/client/sql_string.cc
+++ b/client/sql_string.cc
@@ -507,7 +507,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]))