提交 dfb0921c 编写于 作者: H Hongze Cheng

fix coredump

上级 9e87f232
......@@ -138,7 +138,7 @@ void tSkipListPutBatch(SSkipList *pSkipList, void **ppData, int ndata) {
hasDup = tSkipListGetPosToPut(pSkipList, backward, ppData[0]);
tSkipListPutImpl(pSkipList, ppData[0], backward, false, hasDup);
for (int level = 0; level < pSkipList->maxLevel - 1; level++) {
for (int level = 0; level < pSkipList->maxLevel; level++) {
forward[level] = SL_NODE_GET_BACKWARD_POINTER(backward[level], level);
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册