]> git.saurik.com Git - redis.git/commitdiff
Merge branch 'unstable' of github.com:antirez/redis into unstable
authorantirez <antirez@gmail.com>
Thu, 12 May 2011 18:21:00 +0000 (20:21 +0200)
committerantirez <antirez@gmail.com>
Thu, 12 May 2011 18:21:00 +0000 (20:21 +0200)
tests/unit/type/zset.tcl

index 4fa7af1b3513f6606ee9dea3019c728d176c3687..37668cfe2d949ba051f016de6588dec2517b2e38 100644 (file)
@@ -460,6 +460,13 @@ start_server {tags {"zset"}} {
     basics ziplist
     basics skiplist
 
+    test {ZINTERSTORE regression with two sets, intset+hashtable} {
+        r del seta setb setc
+        r sadd set1 a
+        r sadd set2 10
+        r zinterstore set3 2 set1 set2
+    } {0}
+
     proc stressers {encoding} {
         if {$encoding == "ziplist"} {
             # Little extra to allow proper fuzzing in the sorting stresser