mirror of
https://github.com/fluencelabs/redis
synced 2025-07-01 09:51:32 +00:00
Use locale agnostic tolower() in dict.c hash function.
This commit is contained in:
@ -1109,7 +1109,7 @@ void dictGetStats(char *buf, size_t bufsize, dict *d) {
|
||||
|
||||
#include "sds.h"
|
||||
|
||||
unsigned int hashCallback(const void *key) {
|
||||
uint64_t hashCallback(const void *key) {
|
||||
return dictGenHashFunction((unsigned char*)key, sdslen((char*)key));
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user