Alex Mitrofanov 591c9e6543 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.
2012-06-02 10:27:31 +02:00
..
2012-04-07 11:27:04 +02:00
2012-04-18 11:41:03 +02:00
2011-07-28 12:32:52 +02:00
2010-06-16 11:03:23 +02:00
2010-10-15 12:54:53 +02:00