From e6c777ebcf9435150acbefdf53fe18d5188da87f Mon Sep 17 00:00:00 2001 From: Minglei Jin Date: Thu, 19 Sep 2024 12:33:12 +0800 Subject: [PATCH] fix(stmt2/settags): rebind tags from empty nonnull pCreateTbReq --- source/client/src/clientStmt2.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/client/src/clientStmt2.c b/source/client/src/clientStmt2.c index 51d3df5de8..4ceb17b1ea 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 /*|| (*pDataBlock)->pData->pCreateTbReq*/)) { return TSDB_CODE_SUCCESS; }