未验证 提交 eba176e9 编写于 作者: M Minglei Jin 提交者: GitHub

Merge pull request #15143 from taosdata/fix/TS-1696-V26

fix: resolve a potential nullptr dereferencing on extraRow with update=2
......@@ -986,7 +986,9 @@ static SMemRow getSMemRowInTableMem(STableCheckInfo* pCheckInfo, int32_t order,
return rmem;
} else {
pCheckInfo->chosen = CHECKINFO_CHOSEN_BOTH;
*extraRow = rimem;
if (extraRow) {
*extraRow = rimem;
}
return rmem;
}
} else {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册