提交 0dbfb1d1 编写于 作者: A antirez

Fix ziplist fix...

上级 c495d095
......@@ -797,9 +797,9 @@ unsigned char *__ziplistInsert(unsigned char *zl, unsigned char *p, unsigned cha
/* Encode this entry's raw length in the next entry. */
if (forcelarge)
zipStorePrevEntryLength(p+reqlen,reqlen);
else
zipStorePrevEntryLengthLarge(p+reqlen,reqlen);
else
zipStorePrevEntryLength(p+reqlen,reqlen);
/* Update offset for tail */
ZIPLIST_TAIL_OFFSET(zl) =
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册