TD-12678 SOutputData adjust
This commit is contained in:
parent
552c151f49
commit
a3f70fafa4
|
@ -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) {
|
||||||
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
|
||||||
rsp->completed = 1;
|
rsp->completed = 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (output.needSchedule) {
|
if (output.scheduleJobNo) {
|
||||||
//TODO
|
//TODO
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue