summaryrefslogtreecommitdiff
path: root/client/sql_string.cc
diff options
context:
space:
mode:
authorbar@bar.mysql.r18.ru <>2003-01-30 11:15:14 +0400
committerbar@bar.mysql.r18.ru <>2003-01-30 11:15:14 +0400
commit9a837a873e4adc47047844f208c0aab235d5280d (patch)
tree4bf943936ae0609c73eb4b1d0aa5a8bf1ce6d00a /client/sql_string.cc
parent0420f6914ecd462b9c023bcfe4d031555161babf (diff)
downloadmariadb-git-9a837a873e4adc47047844f208c0aab235d5280d.tar.gz
Always use USE_STRCOLL code
Diffstat (limited to 'client/sql_string.cc')
-rw-r--r--client/sql_string.cc4
1 files changed, 0 insertions, 4 deletions
diff --git a/client/sql_string.cc b/client/sql_string.cc
index 652ea1737e4..8ab205d9fb1 100644
--- a/client/sql_string.cc
+++ b/client/sql_string.cc
@@ -576,7 +576,6 @@ int sortcmp(const String *x,const String *y)
const char *t= y->ptr();
uint32 x_len=x->length(),y_len=y->length(),len=min(x_len,y_len);
-#ifdef USE_STRCOLL
if (use_strnxfrm(x->str_charset))
{
#ifndef CMP_ENDSPACE
@@ -590,7 +589,6 @@ int sortcmp(const String *x,const String *y)
}
else
{
-#endif /* USE_STRCOLL */
x_len-=len; // For easy end space test
y_len-=len;
if (x->str_charset->sort_order)
@@ -633,9 +631,7 @@ int sortcmp(const String *x,const String *y)
#else
return (int) (x_len-y_len);
#endif /* CMP_ENDSPACE */
-#ifdef USE_STRCOLL
}
-#endif
}