mirror of
https://github.com/fluencelabs/redis
synced 2025-03-19 17:10:50 +00:00
Merge branch 'unstable' of github.com:/antirez/redis into unstable
This commit is contained in:
commit
5ba47b50ae
@ -336,7 +336,7 @@ void debugCommand(redisClient *c) {
|
|||||||
dictExpand(c->db->dict,keys);
|
dictExpand(c->db->dict,keys);
|
||||||
for (j = 0; j < keys; j++) {
|
for (j = 0; j < keys; j++) {
|
||||||
snprintf(buf,sizeof(buf),"%s:%lu",
|
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));
|
key = createStringObject(buf,strlen(buf));
|
||||||
if (lookupKeyRead(c->db,key) != NULL) {
|
if (lookupKeyRead(c->db,key) != NULL) {
|
||||||
decrRefCount(key);
|
decrRefCount(key);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user