make it pass compile
This commit is contained in:
parent
086b2d58c2
commit
4f8031821b
|
@ -50,9 +50,13 @@ int tsdbInsertData(STsdb *pTsdb, int64_t version, SSubmitReq *pMsg, SSubmitRsp *
|
||||||
SSubmitBlkRsp r = {0};
|
SSubmitBlkRsp r = {0};
|
||||||
tGetSubmitMsgNext(&msgIter, &pBlock);
|
tGetSubmitMsgNext(&msgIter, &pBlock);
|
||||||
if (pBlock == NULL) break;
|
if (pBlock == NULL) break;
|
||||||
|
#if 0
|
||||||
if ((terrno = tsdbInsertTableData(pTsdb, version, &msgIter, pBlock, &r)) < 0) {
|
if ((terrno = tsdbInsertTableData(pTsdb, version, &msgIter, pBlock, &r)) < 0) {
|
||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
#else
|
||||||
|
ASSERT(0);
|
||||||
|
#endif
|
||||||
|
|
||||||
numOfRows += msgIter.numOfRows;
|
numOfRows += msgIter.numOfRows;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue