refactor dbOverwrite to make lazyfree work

This commit is contained in:
zhaozhao.zz
2018-07-31 12:07:57 +08:00
committed by antirez
parent 9e97173988
commit c609f240a5
4 changed files with 27 additions and 12 deletions

View File

@ -1835,6 +1835,7 @@ int dbAsyncDelete(redisDb *db, robj *key);
void emptyDbAsync(redisDb *db);
void slotToKeyFlushAsync(void);
size_t lazyfreeGetPendingObjectsCount(void);
void freeObjAsync(robj *o);
/* API to get key arguments from commands */
int *getKeysFromCommand(struct redisCommand *cmd, robj **argv, int argc, int *numkeys);