modify set startExecTs only once
This commit is contained in:
parent
27f9f9e435
commit
f1b44426ae
|
@ -8389,6 +8389,7 @@ SQInfo* createQInfoImpl(SQueryTableMsg* pQueryMsg, SGroupbyExpr* pGroupbyExpr, S
|
|||
}
|
||||
|
||||
pQInfo->qId = qId;
|
||||
pQInfo->startExecTs = 0;
|
||||
|
||||
pQInfo->runtimeEnv.pUdfInfo = pUdfInfo;
|
||||
|
||||
|
|
|
@ -273,7 +273,8 @@ bool qTableQuery(qinfo_t qinfo, uint64_t *qId) {
|
|||
}
|
||||
|
||||
*qId = pQInfo->qId;
|
||||
pQInfo->startExecTs = taosGetTimestampMs();
|
||||
if(pQInfo->startExecTs == 0)
|
||||
pQInfo->startExecTs = taosGetTimestampMs();
|
||||
|
||||
if (isQueryKilled(pQInfo)) {
|
||||
qDebug("QInfo:0x%"PRIx64" it is already killed, abort", pQInfo->qId);
|
||||
|
|
Loading…
Reference in New Issue