X-Git-Url: https://git.saurik.com/redis.git/blobdiff_plain/4b00bebd3db6642ce0662888ff856de1fa593734..59146ef3c107d59b6522b8a2f5539a55703adee1:/redis.c diff --git a/redis.c b/redis.c index 33265168..5da103d8 100644 --- a/redis.c +++ b/redis.c @@ -873,7 +873,7 @@ static void redisLog(int level, const char *fmt, ...) { va_start(ap, fmt); if (level >= server.verbosity) { - char *c = ".-*"; + char *c = ".-*#"; char buf[64]; time_t now; @@ -8171,8 +8171,8 @@ static void debugCommand(redisClient *c) { } key = dictGetEntryKey(de); val = dictGetEntryVal(de); - if (server.vm_enabled && (key->storage == REDIS_VM_MEMORY || - key->storage == REDIS_VM_SWAPPING)) { + if (!server.vm_enabled || (key->storage == REDIS_VM_MEMORY || + key->storage == REDIS_VM_SWAPPING)) { addReplySds(c,sdscatprintf(sdsempty(), "+Key at:%p refcount:%d, value at:%p refcount:%d " "encoding:%d serializedlength:%lld\r\n",