]> git.saurik.com Git - redis.git/commitdiff
use withscores when performing the dataset digest
authorantirez <antirez@gmail.com>
Wed, 12 May 2010 15:22:39 +0000 (17:22 +0200)
committerantirez <antirez@gmail.com>
Wed, 12 May 2010 15:24:15 +0000 (17:24 +0200)
test-redis.tcl

index a306ea6a8c929b878858463785e933bfc86aba0c..a3ced3206b4d102f999377857fbde4e69d6e4353 100644 (file)
@@ -214,7 +214,7 @@ proc datasetDigest r {
                 if {[$r zcard $k] == 0} {
                     set aux {}
                 } else {
-                    set aux [::sha1::sha1 -hex [$r zrange $k 0 -1]]
+                    set aux [::sha1::sha1 -hex [$r zrange $k 0 -1 withscores]]
                 }
             } {hash} {
                 if {[$r hlen $k] == 0} {