diff --git a/source/client/src/tmq.c b/source/client/src/tmq.c index 4d740bcae8..d9ab23b9fa 100644 --- a/source/client/src/tmq.c +++ b/source/client/src/tmq.c @@ -659,12 +659,9 @@ int32_t tmqPollCb(void* param, const SDataBuf* pMsg, int32_t code) { /*printf("rsp commit off:%ld rsp off:%ld has data:%d\n", pRsp->committedOffset, pRsp->rspOffset, pRsp->numOfTopics);*/ if (pRsp->consumeRsp.numOfTopics == 0) { printf("no data\n"); -<<<<<<< Updated upstream if (pParam->epoch == tmq->epoch) { atomic_store_32(&pVg->vgStatus, TMQ_VG_STATUS__IDLE); } -======= ->>>>>>> Stashed changes taosFreeQitem(pRsp); return 0; } @@ -982,7 +979,6 @@ tmq_message_t* tmq_consumer_poll(tmq_t* tmq, int64_t blocking_time) { while (1) { /*printf("cycle\n");*/ taosReadAllQitems(tmq->mqueue, tmq->qall); -<<<<<<< Updated upstream rspMsg = tmqHandleAllRsp(tmq, blocking_time, true); if (rspMsg) { return rspMsg; @@ -994,14 +990,6 @@ tmq_message_t* tmq_consumer_poll(tmq_t* tmq, int64_t blocking_time) { return NULL; } } -======= - tmqHandleAllRsp(tmq, blocking_time, true); - /*if (blocking_time != 0 && endTime - startTime > blocking_time) {*/ - /*int64_t endTime = taosGetTimestampMs();*/ - /*printf("normal exit\n");*/ - /*return NULL;*/ - /*}*/ ->>>>>>> Stashed changes } } diff --git a/source/os/src/osFile.c b/source/os/src/osFile.c index aaabf40e05..136afb9a15 100644 --- a/source/os/src/osFile.c +++ b/source/os/src/osFile.c @@ -681,9 +681,5 @@ int32_t taosEOFFile(TdFilePtr pFile) { } assert(pFile->fp != NULL); -<<<<<<< Updated upstream - return feof(pFile->fp); -======= return feof(pFile->fp); ->>>>>>> Stashed changes }