Merge pull request #26374 from taosdata/fix/TD-30856-3.0
fix: buildTagIndexForBindTags errcode
This commit is contained in:
commit
e679c8d95a
|
@ -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