diff options
-rw-r--r-- | src/debug.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/debug.c b/src/debug.c index 0cc8dcf22..b6735749b 100644 --- a/src/debug.c +++ b/src/debug.c @@ -326,6 +326,7 @@ void debugCommand(redisClient *c) { if (getLongFromObjectOrReply(c, c->argv[2], &keys, NULL) != REDIS_OK) return; + dictExpand(c->db->dict,keys); for (j = 0; j < keys; j++) { snprintf(buf,sizeof(buf),"key:%lu",j); key = createStringObject(buf,strlen(buf)); |