From 99dcaaff217ae929a70c94d6bd58ce0c2aed6ab5 Mon Sep 17 00:00:00 2001 From: xsren <285808407@qq.com> Date: Tue, 16 Jul 2024 15:52:06 +0800 Subject: [PATCH] build on windows --- source/libs/command/src/command.c | 5 +---- source/libs/qcom/src/querymsg.c | 1 - 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/source/libs/command/src/command.c b/source/libs/command/src/command.c index 43091b38ad..136e1d4ae1 100644 --- a/source/libs/command/src/command.c +++ b/source/libs/command/src/command.c @@ -14,14 +14,11 @@ */ #include "command.h" -#include #include "catalog.h" #include "commandInt.h" #include "scheduler.h" #include "systable.h" #include "taosdef.h" -#include "taoserror.h" -#include "tarray.h" #include "tdatablock.h" #include "tglobal.h" #include "tgrant.h" @@ -739,7 +736,7 @@ static int32_t setCreateViewResultIntoDataBlock(SSDataBlock* pBlock, SShowCreate _exit: taosMemoryFree(buf2); - return TSDB_CODE_SUCCESS; + return terrno; } static int32_t execShowCreateTable(SShowCreateTableStmt* pStmt, SRetrieveTableRsp** pRsp) { diff --git a/source/libs/qcom/src/querymsg.c b/source/libs/qcom/src/querymsg.c index fdb5f2d9c1..c803eb2cf8 100644 --- a/source/libs/qcom/src/querymsg.c +++ b/source/libs/qcom/src/querymsg.c @@ -16,7 +16,6 @@ #include "query.h" #include "queryInt.h" #include "systable.h" -#include "taoserror.h" #include "tmsg.h" #include "trpc.h"