fix(stmt2/settags): rebind tags from empty nonnull pCreateTbReq

This commit is contained in:
Minglei Jin 2024-09-19 12:33:12 +08:00
parent 000a797ac9
commit e6c777ebcf
1 changed files with 1 additions and 1 deletions

View File

@ -1001,7 +1001,7 @@ int stmtSetTbTags2(TAOS_STMT2* stmt, TAOS_STMT2_BIND* tags) {
STMT_ERR_RET(TSDB_CODE_APP_ERROR); STMT_ERR_RET(TSDB_CODE_APP_ERROR);
} }
if (pStmt->bInfo.inExecCache && (!pStmt->sql.autoCreateTbl || (*pDataBlock)->pData->pCreateTbReq)) { if (pStmt->bInfo.inExecCache && (!pStmt->sql.autoCreateTbl /*|| (*pDataBlock)->pData->pCreateTbReq*/)) {
return TSDB_CODE_SUCCESS; return TSDB_CODE_SUCCESS;
} }