]> git.saurik.com Git - redis.git/commitdiff
DEBUG DIGEST additional lookup needed for VM removed from unstable branch that does...
authorantirez <antirez@gmail.com>
Tue, 10 May 2011 08:08:01 +0000 (10:08 +0200)
committerantirez <antirez@gmail.com>
Tue, 10 May 2011 08:08:01 +0000 (10:08 +0200)
src/debug.c

index 080e2b2e968ccbfb13da10c31d6d01b39938fce5..170bffa5ce99788a6e120128a5c697c7bbd94756 100644 (file)
@@ -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));