1
0
mirror of https://github.com/fluencelabs/redis synced 2025-03-19 17:10:50 +00:00
Alex Mitrofanov 51857c7e5c Fixed RESTORE hash failure (Issue )
(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-05-24 15:19:48 +02:00