提交 7c277f05 编写于 作者: X xywang

[TS-1233]<fix>: fixed coredump when timestamp collection excessed threshold

上级 c77631af
...@@ -490,7 +490,7 @@ void tsBufAppend(STSBuf* pTSBuf, int32_t id, tVariant* tag, const char* pData, i ...@@ -490,7 +490,7 @@ void tsBufAppend(STSBuf* pTSBuf, int32_t id, tVariant* tag, const char* pData, i
} }
void tsBufFlush(STSBuf* pTSBuf) { void tsBufFlush(STSBuf* pTSBuf) {
if (pTSBuf->tsData.len <= 0) { if (pTSBuf->numOfGroups <= 0) {
return; return;
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册