fix(query): remove invalid check.

This commit is contained in:
Haojun Liao 2022-10-20 12:18:56 +08:00
parent 12e81869bc
commit 3fcd60e627
1 changed files with 1 additions and 1 deletions

View File

@ -365,7 +365,7 @@ int32_t qCreateExecTask(SReadHandle* readHandle, int32_t vgId, uint64_t taskId,
if (handle) {
void* pSinkParam = NULL;
code = createDataSinkParam(pSubplan->pDataSink, &pSinkParam, pTaskInfo, readHandle);
if (code != TSDB_CODE_SUCCESS || pSinkParam == NULL) {
if (code != TSDB_CODE_SUCCESS) {
qError("failed to createDataSinkParam, vgId:%d, code:%s, %s", vgId, tstrerror(code), (*pTask)->id.str);
goto _error;
}