DEBUG DIGEST additional lookup needed for VM removed from unstable branch that does not have VM at all

This commit is contained in:
antirez 2011-05-10 10:08:01 +02:00
parent 6901fe7729
commit f13cb0d9de

View 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));