diff options
Diffstat (limited to 'src/redis-cli.c')
-rw-r--r-- | src/redis-cli.c | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/src/redis-cli.c b/src/redis-cli.c index e363a2795..a1f3f4010 100644 --- a/src/redis-cli.c +++ b/src/redis-cli.c @@ -1987,7 +1987,8 @@ typedef struct clusterManagerLink { } clusterManagerLink; static dictType clusterManagerDictType = { - dictSdsHash, /* hash function */ + dictSdsHash, /* lookup hash function */ + dictSdsHash, /* stored hash function */ NULL, /* key dup */ NULL, /* val dup */ dictSdsKeyCompare, /* key compare */ @@ -1996,10 +1997,12 @@ static dictType clusterManagerDictType = { }; static dictType clusterManagerLinkDictType = { - dictSdsHash, /* hash function */ + dictSdsHash, /* lookup hash function */ + dictSdsHash, /* stored hash function */ NULL, /* key dup */ NULL, /* val dup */ - dictSdsKeyCompare, /* key compare */ + dictSdsKeyCompare, /* lookup key compare */ + dictSdsKeyCompare, /* stored key compare */ dictSdsDestructor, /* key destructor */ dictListDestructor /* val destructor */ }; @@ -6933,7 +6936,8 @@ void type_free(void* priv_data, void* val) { } static dictType typeinfoDictType = { - dictSdsHash, /* hash function */ + dictSdsHash, /* lookup hash function */ + dictSdsHash, /* stored hash function */ NULL, /* key dup */ NULL, /* val dup */ dictSdsKeyCompare, /* key compare */ |