feat: parser adapts asynchronous interface
This commit is contained in:
parent
1005fb8850
commit
0a3c741ffe
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue