diff options
author | unknown <bar@bar.mysql.r18.ru> | 2003-04-01 14:17:28 +0500 |
---|---|---|
committer | unknown <bar@bar.mysql.r18.ru> | 2003-04-01 14:17:28 +0500 |
commit | 640f31bdc8c9443048a67118c12b1faa967a055b (patch) | |
tree | 3ccf04f1bc69fe8f7036ae58dba5ef66f4b2993e /mysys/hash.c | |
parent | db628b97a5aef69413b9b429e36c4872897e5693 (diff) | |
download | mariadb-git-640f31bdc8c9443048a67118c12b1faa967a055b.tar.gz |
my_strncasecmp() is not used anymore. Use my_strncoll() instead.
Diffstat (limited to 'mysys/hash.c')
-rw-r--r-- | mysys/hash.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mysys/hash.c b/mysys/hash.c index abff6694af9..9169613c39f 100644 --- a/mysys/hash.c +++ b/mysys/hash.c @@ -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); } |