1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-30 11:22:14 +03:00

Simple charsets now have strncoll() field too

This commit is contained in:
bar@bar.mysql.r18.ru
2002-10-09 15:40:57 +05:00
parent 40c0fd1c6c
commit 954a47b95a
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]))