From 8cd994645b0f132bd5d7618573088e5a2e6ddb5c Mon Sep 17 00:00:00 2001 From: dapan1121 Date: Thu, 24 Oct 2024 15:30:47 +0800 Subject: [PATCH] fix: subplan test compile issue --- source/libs/executor/test/queryPlanTests.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/libs/executor/test/queryPlanTests.cpp b/source/libs/executor/test/queryPlanTests.cpp index ced1f964c6..1e0129ce5b 100755 --- a/source/libs/executor/test/queryPlanTests.cpp +++ b/source/libs/executor/test/queryPlanTests.cpp @@ -3137,7 +3137,7 @@ void qptExecPlan(SReadHandle* pReadHandle, SNode* pNode, SExecTaskInfo* pTaskInf } case QUERY_NODE_PHYSICAL_SUBPLAN: { DataSinkHandle handle = NULL; - qptCtx.result.code = qCreateExecTask(pReadHandle, qptCtx.param.vnode.vgId, pTaskInfo->id.taskId, (SSubplan*)pNode, &pTaskInfo, &handle, + qptCtx.result.code = qCreateExecTask(pReadHandle, qptCtx.param.vnode.vgId, pTaskInfo->id.taskId, (SSubplan*)pNode, (qTaskInfo_t*)&pTaskInfo, &handle, QPT_RAND_BOOL_V ? 0 : 1, taosStrdup("sql string"), OPTR_EXEC_MODEL_BATCH); break; }