fix: buildTagIndexForBindTags errcode
This commit is contained in:
parent
2f970dbc03
commit
21d653f10f
|
@ -12730,7 +12730,7 @@ static int32_t buildTagIndexForBindTags(SMsgBuf* pMsgBuf, SCreateSubTableFromFil
|
|||
}
|
||||
}
|
||||
|
||||
if (!tbnameFound) {
|
||||
if (TSDB_CODE_SUCCESS == code && !tbnameFound) {
|
||||
code = generateSyntaxErrMsg(pMsgBuf, TSDB_CODE_PAR_TBNAME_ERROR);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue