From 6f65247e6cf6be72a5f529530ef30d99b5483b8c Mon Sep 17 00:00:00 2001 From: "pengrongkun94@qq.com" Date: Fri, 20 Dec 2024 18:32:20 +0800 Subject: [PATCH] fix TD-33219 for normal table error case --- source/client/src/clientMain.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/client/src/clientMain.c b/source/client/src/clientMain.c index 3683a0d454..f041e4b030 100644 --- a/source/client/src/clientMain.c +++ b/source/client/src/clientMain.c @@ -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;