Merge pull request #26374 from taosdata/fix/TD-30856-3.0

fix: buildTagIndexForBindTags errcode
This commit is contained in:
Hongze Cheng 2024-07-02 18:55:40 +08:00 committed by GitHub
commit e679c8d95a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
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);
}