提交 a3f70faf 编写于 作者: X Xiaoyu Wang

TD-12678 SOutputData adjust

上级 552c151f
...@@ -48,7 +48,7 @@ typedef struct SOutputData { ...@@ -48,7 +48,7 @@ typedef struct SOutputData {
int8_t compressed; int8_t compressed;
char* pData; char* pData;
bool queryEnd; bool queryEnd;
bool needSchedule; int32_t scheduleJobNo;
int32_t bufStatus; int32_t bufStatus;
int64_t useconds; int64_t useconds;
int8_t precision; int8_t precision;
......
...@@ -196,7 +196,7 @@ static int32_t getDataBlock(SDataSinkHandle* pHandle, SOutputData* pOutput) { ...@@ -196,7 +196,7 @@ static int32_t getDataBlock(SDataSinkHandle* pHandle, SOutputData* pOutput) {
pOutput->bufStatus = updateStatus(pDispatcher); pOutput->bufStatus = updateStatus(pDispatcher);
pthread_mutex_lock(&pDispatcher->mutex); pthread_mutex_lock(&pDispatcher->mutex);
pOutput->queryEnd = pDispatcher->queryEnd; pOutput->queryEnd = pDispatcher->queryEnd;
pOutput->needSchedule = false; pOutput->scheduleJobNo = 0;
pOutput->useconds = pDispatcher->useconds; pOutput->useconds = pDispatcher->useconds;
pOutput->precision = pDispatcher->schema.precision; pOutput->precision = pDispatcher->schema.precision;
pthread_mutex_unlock(&pDispatcher->mutex); pthread_mutex_unlock(&pDispatcher->mutex);
......
...@@ -976,7 +976,7 @@ int32_t qwHandleFetch(SQWorkerMgmt *mgmt, uint64_t sId, uint64_t queryId, uint64 ...@@ -976,7 +976,7 @@ int32_t qwHandleFetch(SQWorkerMgmt *mgmt, uint64_t sId, uint64_t queryId, uint64
rsp->completed = 1; rsp->completed = 1;
} }
if (output.needSchedule) { if (output.scheduleJobNo) {
//TODO //TODO
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册