From da4379853d3d335412f16658bfa13e34604cadf8 Mon Sep 17 00:00:00 2001 From: dapan1121 Date: Wed, 20 Apr 2022 09:12:59 +0800 Subject: [PATCH] stmt --- include/libs/planner/planner.h | 1 - source/libs/parser/src/parInsert.c | 1 - tests/script/api/batchprepare.c | 4 ++-- 3 files changed, 2 insertions(+), 4 deletions(-) diff --git a/include/libs/planner/planner.h b/include/libs/planner/planner.h index f343295c56..eba70b8098 100644 --- a/include/libs/planner/planner.h +++ b/include/libs/planner/planner.h @@ -45,7 +45,6 @@ int32_t qCreateQueryPlan(SPlanContext* pCxt, SQueryPlan** pPlan, SArray* pExecNo // @pSource one execution location of this group of datasource subplans int32_t qSetSubplanExecutionNode(SSubplan* pSubplan, int32_t groupId, SDownstreamSourceNode* pSource); -typedef TAOS_MULTI_BIND TAOS_BIND_v2; // todo remove int32_t qStmtBindParam(SQueryPlan* pPlan, TAOS_BIND_v2* pParams); // Convert to subplan to string for the scheduler to send to the executor diff --git a/source/libs/parser/src/parInsert.c b/source/libs/parser/src/parInsert.c index 60f5ae4283..b6d835846c 100644 --- a/source/libs/parser/src/parInsert.c +++ b/source/libs/parser/src/parInsert.c @@ -1009,7 +1009,6 @@ static int32_t parseValuesClause(SInsertParseContext* pCxt, STableDataBlocks* da } void destroyCreateSubTbReq(SVCreateTbReq* pReq) { - taosMemoryFreeClear(pReq->dbFName); taosMemoryFreeClear(pReq->name); taosMemoryFreeClear(pReq->ctbCfg.pTag); } diff --git a/tests/script/api/batchprepare.c b/tests/script/api/batchprepare.c index 4b259ceafe..9936c0572c 100644 --- a/tests/script/api/batchprepare.c +++ b/tests/script/api/batchprepare.c @@ -63,7 +63,7 @@ CaseCfg gCase[] = { // {"insert:MBSE", tListLen(shortColList), shortColList, false, true, insertMBSETest, 10, 100, 10, 0, 0, 10}, // {"insert:MBSE", tListLen(longColList), longColList, false, true, insertMBSETest, 10, 10, 2, 0, 0, 1}, // {"insert:MBSE", tListLen(longColList), longColList, false, false, insertMBSETest, 10, 10, 2, 6, 0, 1}, - {"insert:MBSE", tListLen(longColList), longColList, false, false, insertMBMETest, 10, 10, 2, 6, 0, 1}, + {"insert:MBME", tListLen(longColList), longColList, false, false, insertMBMETest, 10, 10, 2, 6, 0, 1}, }; CaseCfg *gCurCase = NULL; @@ -5097,7 +5097,7 @@ void* runcase(TAOS *taos) { for (int32_t i = 0; i < sizeof(gCase)/sizeof(gCase[0]); ++i) { gCurCase = &gCase[i]; - printf("Case %d Begin\n", i); + printf("Case %d - %s Begin\n", i, gCurCase->caseDesc); if (gCurCase->fullCol) { gCurCase->bindColNum = gCurCase->colNum; -- GitLab