mirror of
https://github.com/fluencelabs/redis
synced 2025-06-20 12:36:31 +00:00
various cleanups and minor fixes
This commit is contained in:
2
src/db.c
2
src/db.c
@ -116,7 +116,7 @@ void dbAdd(redisDb *db, robj *key, robj *val) {
|
||||
sds copy = sdsdup(key->ptr);
|
||||
int retval = dictAdd(db->dict, copy, val);
|
||||
|
||||
serverAssertWithInfo(NULL,key,retval == C_OK);
|
||||
serverAssertWithInfo(NULL,key,retval == DICT_OK);
|
||||
if (val->type == OBJ_LIST) signalListAsReady(db, key);
|
||||
if (server.cluster_enabled) slotToKeyAdd(key);
|
||||
}
|
||||
|
Reference in New Issue
Block a user