X-Git-Url: https://git.saurik.com/redis.git/blobdiff_plain/7d8c555e92954b02d40c15702476fd48e55c4f94..fd535c58623852e480906311c48b136d3d2646bb:/src/debug.c?ds=sidebyside diff --git a/src/debug.c b/src/debug.c index 940a0380..170bffa5 100644 --- a/src/debug.c +++ b/src/debug.c @@ -100,7 +100,7 @@ void computeDatasetDigest(unsigned char *final) { mixDigest(digest,key,sdslen(key)); /* Make sure the key is loaded if VM is active */ - o = lookupKeyRead(db,keyobj); + o = dictGetEntryVal(de); aux = htonl(o->type); mixDigest(digest,&aux,sizeof(aux)); @@ -159,7 +159,7 @@ void computeDatasetDigest(unsigned char *final) { xorDigest(digest,eledigest,20); zzlNext(zl,&eptr,&sptr); } - } else if (o->encoding == REDIS_ENCODING_RAW) { + } else if (o->encoding == REDIS_ENCODING_SKIPLIST) { zset *zs = o->ptr; dictIterator *di = dictGetIterator(zs->dict); dictEntry *de;