提交 977d6b78 编写于 作者: dengyihao's avatar dengyihao

add checkpoint

上级 74764108
......@@ -218,10 +218,11 @@ int32_t streamTaskSnapWrite(SStreamTaskWriter* pWriter, uint8_t* pData, uint32_t
// tdbTbInsert(TTB *pTb, const void *pKey, int keyLen, const void *pVal, int valLen, TXN *pTxn)
if (tdbTbUpsert(pTq->pStreamMeta->pTaskDb, &pTask->id.taskId, sizeof(int32_t), (uint8_t*)pData + sizeof(SSnapDataHdr),
nData - sizeof(SSnapDataHdr), NULL) < 0) {
nData - sizeof(SSnapDataHdr), ) < 0) {
taosMemoryFree(pTask);
return -1;
}
taosMemoryFree(pTask);
return code;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册