mirror of
https://github.com/MariaDB/server.git
synced 2026-05-04 14:15:33 +02:00
my_strncasecmp() is not used anymore. Use my_strncoll() instead.
This commit is contained in:
parent
db628b97a5
commit
640f31bdc8
21 changed files with 7 additions and 65 deletions
|
|
@ -211,7 +211,7 @@ static int hashcmp(HASH *hash,HASH_LINK *pos,const byte *key,uint length)
|
|||
uint rec_keylength;
|
||||
byte *rec_key= (byte*) hash_key(hash,pos->data,&rec_keylength,1);
|
||||
return (length && length != rec_keylength) ||
|
||||
my_strncasecmp(hash->charset, rec_key,key,rec_keylength);
|
||||
my_strnncoll(hash->charset, rec_key, rec_keylength, key, length);
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue