4 Commits

Author SHA1 Message Date
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
antirez
e3fd3ccd72 More MIGRATE tests. 2012-04-03 15:14:03 +02:00
antirez
b739506936 MIGRATE test modified because the implementation changed. 2012-04-02 16:41:11 +02:00
antirez
8cf8974a03 DUMP, RESTORE, MIGRATE tests. 2012-04-02 14:22:07 +02:00