[TD-6343]<fix>: taos crash at tscSubquery.c:2447
This commit is contained in:
parent
6b652fa2c3
commit
51193750af
|
@ -2443,7 +2443,7 @@ static void doSendQueryReqs(SSchedMsg* pSchedMsg) {
|
|||
SPair* p = pSchedMsg->msg;
|
||||
|
||||
for (int32_t i = p->first; i < p->second; ++i) {
|
||||
if (i == pSql->subState.numOfSub) {
|
||||
if (i >= pSql->subState.numOfSub) {
|
||||
tfree(p);
|
||||
return;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue