]> git.saurik.com Git - redis.git/blobdiff - src/debug.c
Update target encoding for sorted set from rdb
[redis.git] / src / debug.c
index 940a0380239160d4f64118c1a5471522529b8921..080e2b2e968ccbfb13da10c31d6d01b39938fce5 100644 (file)
@@ -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;