diff --git a/source/libs/parser/src/parser.c b/source/libs/parser/src/parser.c index ee223f2291057e84bd19b7c9fff84f0de9374659..a9962b044491fc20dd55237f66026576b36ef49f 100644 --- a/source/libs/parser/src/parser.c +++ b/source/libs/parser/src/parser.c @@ -185,8 +185,8 @@ int32_t qParseSql(SParseContext* pCxt, SQuery** pQuery) { int32_t qSyntaxParseSql(SParseContext* pCxt, SQuery** pQuery, struct SCatalogReq* pCatalogReq) { int32_t code = TSDB_CODE_SUCCESS; - if (isInsertSql(pCxt->pSql, pCxt->sqlLen)) { - // code = preParseInsertSql(pCxt, pQuery); + if (qIsInsertSql(pCxt->pSql, pCxt->sqlLen)) { + // todo insert sql } else { code = parse(pCxt, pQuery); }