diff --git a/source/client/src/clientStmt2.c b/source/client/src/clientStmt2.c index 4ceb17b1ea..74644a4969 100644 --- a/source/client/src/clientStmt2.c +++ b/source/client/src/clientStmt2.c @@ -1001,7 +1001,7 @@ int stmtSetTbTags2(TAOS_STMT2* stmt, TAOS_STMT2_BIND* tags) { STMT_ERR_RET(TSDB_CODE_APP_ERROR); } - if (pStmt->bInfo.inExecCache && (!pStmt->sql.autoCreateTbl /*|| (*pDataBlock)->pData->pCreateTbReq*/)) { + if (pStmt->bInfo.inExecCache && (!pStmt->sql.autoCreateTbl)) { return TSDB_CODE_SUCCESS; }