fix create tsma on Windows crash

This commit is contained in:
wangjiaming0909 2024-08-26 13:15:10 +08:00
parent e035eb1224
commit 9dd3b1b56b
1 changed files with 1 additions and 2 deletions

View File

@ -1845,8 +1845,7 @@ static int32_t mndTSMAGenerateOutputName(const char* tsmaName, char* streamName,
static int32_t mndProcessCreateTSMAReq(SRpcMsg* pReq) { static int32_t mndProcessCreateTSMAReq(SRpcMsg* pReq) {
#ifdef WINDOWS #ifdef WINDOWS
terrno = TSDB_CODE_MND_INVALID_PLATFORM; TAOS_RETURN(TSDB_CODE_MND_INVALID_PLATFORM);
goto _OVER;
#endif #endif
SMnode * pMnode = pReq->info.node; SMnode * pMnode = pReq->info.node;
int32_t code = -1; int32_t code = -1;