mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
Always use USE_STRCOLL code
This commit is contained in:
@ -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
|
||||
}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user