fix: buildTagIndexForBindTags errcode

This commit is contained in:
Shungang Li 2024-07-02 16:22:59 +08:00
parent 2f970dbc03
commit 21d653f10f
1 changed files with 1 additions and 1 deletions

View File

@ -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);
}