mirror of
https://github.com/MariaDB/server.git
synced 2025-08-01 03:47:19 +03:00
my_sortcmp -> my_strnncoll
BitKeeper/deleted/.del-mf_casecnv.c~c269ed3dcafea441: Delete: mysys/mf_casecnv.c
This commit is contained in:
@ -193,8 +193,9 @@ int key_cmp(TABLE *table,const byte *key,uint idx,uint key_length)
|
||||
FIELDFLAG_PACK)))
|
||||
{
|
||||
/* BAR TODO: I'm not sure this should be system_charset_info */
|
||||
if (my_sortcmp(system_charset_info,(char*) key,
|
||||
(char*) table->record[0]+key_part->offset,length))
|
||||
if (my_strnncoll(system_charset_info,
|
||||
(const uchar*) key, length,
|
||||
(const uchar*) table->record[0]+key_part->offset,length))
|
||||
return 1;
|
||||
}
|
||||
else if (memcmp(key,table->record[0]+key_part->offset,length))
|
||||
|
Reference in New Issue
Block a user