From 3ccc3d80e0d8e3c502a6046a49f6ecf3e7676698 Mon Sep 17 00:00:00 2001 From: kailixu Date: Thu, 4 Jan 2024 23:41:58 +0800 Subject: [PATCH] chore: check tag cond for insert --- source/libs/parser/src/parInsertSql.c | 1 + 1 file changed, 1 insertion(+) diff --git a/source/libs/parser/src/parInsertSql.c b/source/libs/parser/src/parInsertSql.c index 1994ddb437..afbec9f8c1 100644 --- a/source/libs/parser/src/parInsertSql.c +++ b/source/libs/parser/src/parInsertSql.c @@ -945,6 +945,7 @@ static int32_t parseTagsClauseImpl(SInsertParseContext* pCxt, SVnodeModifyOpStmt } if (TSDB_CODE_SUCCESS == code && NULL != pStmt->pTagCond) { + assert(0); code = checkSubtablePrivilege(pTagVals, pTagName, &pStmt->pTagCond); }