From: Alex Mitrofanov Date: Sat, 2 Jun 2012 01:48:45 +0000 (-0700) Subject: Fixed RESTORE hash failure (Issue #532) X-Git-Url: https://git.saurik.com/redis.git/commitdiff_plain/51857c7e5cc6479323d53778e37a197f7c140fbf?ds=sidebyside;hp=51857c7e5cc6479323d53778e37a197f7c140fbf Fixed RESTORE hash failure (Issue #532) (additional commit notes by antirez@gmail.com): The rdbIsObjectType() macro was not updated when the new RDB object type of ziplist encoded hashes was added. As a result RESTORE, that uses rdbLoadObjectType(), failed when a ziplist encoded hash was loaded. This does not affected normal RDB loading because in that case we use the lower-level function rdbLoadType(). The commit also adds a regression test. ---