Merge pull request #29254 from taosdata/fix/main/TD-33219-2
fix:[TD-33219] for normal table error case
This commit is contained in:
commit
eb5d2dd160
|
@ -2201,7 +2201,7 @@ int taos_stmt2_bind_param(TAOS_STMT2 *stmt, TAOS_STMT2_BINDV *bindv, int32_t col
|
||||||
if (code) {
|
if (code) {
|
||||||
goto out;
|
goto out;
|
||||||
}
|
}
|
||||||
} else {
|
} else if (pStmt->bInfo.tbType == TSDB_CHILD_TABLE && pStmt->sql.autoCreateTbl) {
|
||||||
code = stmtSetTbTags2(stmt, NULL);
|
code = stmtSetTbTags2(stmt, NULL);
|
||||||
if (code) {
|
if (code) {
|
||||||
return code;
|
return code;
|
||||||
|
|
|
@ -803,7 +803,7 @@ int32_t tsdbDisableAndCancelAllBgTask(STsdb *pTsdb) {
|
||||||
if (k == 0) {
|
if (k == 0) {
|
||||||
(void)vnodeACancel(task);
|
(void)vnodeACancel(task);
|
||||||
} else {
|
} else {
|
||||||
(void)vnodeAWait(task);
|
vnodeAWait(task);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue