fix(stream): fix error in checking status.

This commit is contained in:
Haojun Liao 2023-07-10 10:23:05 +08:00
parent dd15ca6103
commit e8eba3175a
1 changed files with 1 additions and 1 deletions

View File

@ -407,7 +407,7 @@ int32_t streamExecForAll(SStreamTask* pTask) {
break;
}
if (status != TASK_STATUS__NORMAL && status != TASK_STATUS__PAUSE && status != TASK_STATUS__STOP) {
if (status != TASK_STATUS__NORMAL && status != TASK_STATUS__PAUSE && zstatus != TASK_STATUS__STOP) {
qError("stream task wait for the end of fill history, s-task:%s, status:%d", id, status);
taosMsleep(100);
} else {