mirror of
https://github.com/redis/redis.git
synced 2026-04-21 03:01:35 -04:00
Merge branch 'unstable' of github.com:/antirez/redis into unstable
This commit is contained in:
@@ -336,7 +336,7 @@ void debugCommand(redisClient *c) {
|
||||
dictExpand(c->db->dict,keys);
|
||||
for (j = 0; j < keys; j++) {
|
||||
snprintf(buf,sizeof(buf),"%s:%lu",
|
||||
(c->argc == 3) ? "key" : c->argv[3]->ptr, j);
|
||||
(c->argc == 3) ? "key" : (char*)c->argv[3]->ptr, j);
|
||||
key = createStringObject(buf,strlen(buf));
|
||||
if (lookupKeyRead(c->db,key) != NULL) {
|
||||
decrRefCount(key);
|
||||
|
||||
Reference in New Issue
Block a user