From: antirez Date: Wed, 23 May 2012 09:02:38 +0000 (+0200) Subject: Fixed issue #516 (ZINTERSTORE mixing sets and zsets). X-Git-Url: https://git.saurik.com/redis.git/commitdiff_plain/348ee1a40a4d8105dfaf6fa2ab2dffc15a47d86d?hp=348ee1a40a4d8105dfaf6fa2ab2dffc15a47d86d Fixed issue #516 (ZINTERSTORE mixing sets and zsets). Weeks ago trying to fix an harmless GCC warning I introduced a bug in the ziplist-encoded implementations of sorted sets. The bug completely broke zuiNext() iterator, that is used in the ZINTERSTORE and ZUNIONSTORE implementation, so those two commands are no longer reliable starting from Redis version 2.4.12 and latest 2.6.0-RC releases. This commit fixes the problem and adds a regression test. ---