Cluster: use CountKeysInSlot() when we just need the count.

This commit is contained in:
antirez
2013-02-25 11:23:04 +01:00
parent ad3bca1fdf
commit c2eb4a606f
2 changed files with 2 additions and 7 deletions

View File

@ -1227,6 +1227,7 @@ int selectDb(redisClient *c, int id);
void signalModifiedKey(redisDb *db, robj *key);
void signalFlushedDb(int dbid);
unsigned int GetKeysInSlot(unsigned int hashslot, robj **keys, unsigned int count);
unsigned int CountKeysInSlot(unsigned int hashslot);
int verifyClusterConfigWithData(void);
/* API to get key arguments from commands */