build on windows

This commit is contained in:
xsren 2024-07-16 15:52:06 +08:00
parent ebec7c928b
commit 99dcaaff21
2 changed files with 1 additions and 5 deletions

View File

@ -14,14 +14,11 @@
*/ */
#include "command.h" #include "command.h"
#include <unistd.h>
#include "catalog.h" #include "catalog.h"
#include "commandInt.h" #include "commandInt.h"
#include "scheduler.h" #include "scheduler.h"
#include "systable.h" #include "systable.h"
#include "taosdef.h" #include "taosdef.h"
#include "taoserror.h"
#include "tarray.h"
#include "tdatablock.h" #include "tdatablock.h"
#include "tglobal.h" #include "tglobal.h"
#include "tgrant.h" #include "tgrant.h"
@ -739,7 +736,7 @@ static int32_t setCreateViewResultIntoDataBlock(SSDataBlock* pBlock, SShowCreate
_exit: _exit:
taosMemoryFree(buf2); taosMemoryFree(buf2);
return TSDB_CODE_SUCCESS; return terrno;
} }
static int32_t execShowCreateTable(SShowCreateTableStmt* pStmt, SRetrieveTableRsp** pRsp) { static int32_t execShowCreateTable(SShowCreateTableStmt* pStmt, SRetrieveTableRsp** pRsp) {

View File

@ -16,7 +16,6 @@
#include "query.h" #include "query.h"
#include "queryInt.h" #include "queryInt.h"
#include "systable.h" #include "systable.h"
#include "taoserror.h"
#include "tmsg.h" #include "tmsg.h"
#include "trpc.h" #include "trpc.h"