Merge pull request #27457 from taosdata/fix/3.0/TD-31669
fix create tsma on Windows crash
This commit is contained in:
commit
7a28dffa34
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue