summaryrefslogtreecommitdiff
path: root/src/db.c
diff options
context:
space:
mode:
authororanagra <oran@redislabs.com>2016-12-30 03:37:52 +0200
committeroranagra <oran@redislabs.com>2016-12-30 03:37:52 +0200
commit7aa9e6d2ae1d500d8ba900b239207143993ecc3e (patch)
treeed9d684b562250c09d9570c109f0630554b5af6c /src/db.c
parent6712bce92c79de5c2caa38e9b597a3fa52fd497f (diff)
downloadredis-7aa9e6d2ae1d500d8ba900b239207143993ecc3e.tar.gz
active memory defragmentation
Diffstat (limited to 'src/db.c')
-rw-r--r--src/db.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/db.c b/src/db.c
index 90a75fcfe..a21437c76 100644
--- a/src/db.c
+++ b/src/db.c
@@ -665,7 +665,7 @@ void scanGenericCommand(client *c, robj *o, unsigned long cursor) {
privdata[0] = keys;
privdata[1] = o;
do {
- cursor = dictScan(ht, cursor, scanCallback, privdata);
+ cursor = dictScan(ht, cursor, scanCallback, NULL, privdata);
} while (cursor &&
maxiterations-- &&
listLength(keys) < (unsigned long)count);