mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
less default_charset_info
This commit is contained in:
@ -192,8 +192,7 @@ int key_cmp(TABLE *table,const byte *key,uint idx,uint key_length)
|
||||
if (!(key_part->key_type & (FIELDFLAG_NUMBER+FIELDFLAG_BINARY+
|
||||
FIELDFLAG_PACK)))
|
||||
{
|
||||
/* BAR TODO: I'm not sure this should be system_charset_info */
|
||||
if (my_strnncoll(system_charset_info,
|
||||
if (my_strnncoll(key_part->field->charset(),
|
||||
(const uchar*) key, length,
|
||||
(const uchar*) table->record[0]+key_part->offset,length))
|
||||
return 1;
|
||||
|
Reference in New Issue
Block a user