Alex Mitrofanov 33700ab2a7 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:24:27 +02:00
..
2012-04-13 17:52:33 -07:00
2012-05-15 11:19:01 +02:00
2011-04-13 10:58:21 +02:00
2011-09-15 18:25:53 +02:00
2012-05-15 11:18:54 +02:00
2012-05-01 10:52:03 +02:00
2011-02-28 14:48:49 +01:00
2012-05-24 15:20:06 +02:00
2012-04-11 12:12:30 +02:00
2012-04-02 11:56:03 +02:00
2012-06-02 10:24:27 +02:00
2012-05-14 17:35:51 +02:00
2012-03-30 21:19:51 +02:00
2012-03-30 21:19:51 +02:00
2011-03-09 15:44:21 +01:00
2012-03-23 10:22:58 +01:00
2012-03-09 22:07:45 +01:00
2012-01-02 15:24:50 -08:00
2011-07-06 15:22:00 +02:00
2012-04-10 16:34:33 +02:00
2012-01-03 16:13:42 -08:00
2012-05-16 11:09:45 +02:00