RDB v8: fix rdbLoadLen() return value.

This commit is contained in:
antirez
2016-06-01 20:18:28 +02:00
parent e6554bed92
commit 27e5f385c1
3 changed files with 61 additions and 36 deletions

View File

@ -59,7 +59,7 @@
#define RDB_32BITLEN 0x80
#define RDB_64BITLEN 0x81
#define RDB_ENCVAL 3
#define RDB_LENERR UINT_MAX
#define RDB_LENERR UINT64_MAX
/* When a length of a string object stored on disk has the first two bits
* set, the remaining six bits specify a special encoding for the object