提交 ec4b4923 编写于 作者: K kailixu

fix: multiple unsequenced modifications

上级 dffdbb53
......@@ -42,7 +42,7 @@ static void *dmStatusThreadFp(void *param) {
taosMemoryTrim(0);
}
if ((upTimeCount = (++upTimeCount & 63)) == 0) {
if ((upTimeCount = ((upTimeCount + 1) & 63)) == 0) {
upTime = taosGetOsUptime() - tsDndStartOsUptime;
tsDndUpTime = TMAX(tsDndUpTime, upTime);
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册