Merge pull request #29254 from taosdata/fix/main/TD-33219-2

fix:[TD-33219] for normal table error case
This commit is contained in:
Shengliang Guan 2024-12-21 01:35:40 +08:00 committed by GitHub
commit eb5d2dd160
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View File

@ -2201,7 +2201,7 @@ int taos_stmt2_bind_param(TAOS_STMT2 *stmt, TAOS_STMT2_BINDV *bindv, int32_t col
if (code) {
goto out;
}
} else {
} else if (pStmt->bInfo.tbType == TSDB_CHILD_TABLE && pStmt->sql.autoCreateTbl) {
code = stmtSetTbTags2(stmt, NULL);
if (code) {
return code;

View File

@ -803,7 +803,7 @@ int32_t tsdbDisableAndCancelAllBgTask(STsdb *pTsdb) {
if (k == 0) {
(void)vnodeACancel(task);
} else {
(void)vnodeAWait(task);
vnodeAWait(task);
}
}
}