1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-29 05:21:33 +03:00

Simple charsets now have strncoll() field too

This commit is contained in:
unknown
2002-10-09 15:40:57 +05:00
parent ac97cce461
commit edb8ae0f38
16 changed files with 118 additions and 91 deletions

View File

@ -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]))