fix illegal sql issue
This commit is contained in:
parent
4e8f3b5de3
commit
27dab670f4
|
@ -206,6 +206,8 @@ static int normalStmtPrepare(STscStmt* stmt) {
|
||||||
return code;
|
return code;
|
||||||
}
|
}
|
||||||
start = i + token.n;
|
start = i + token.n;
|
||||||
|
} else if (token.type == TK_ILLEGAL) {
|
||||||
|
return invalidOperationMsg(tscGetErrorMsgPayload(&stmt->pSql->cmd), "invalid sql");
|
||||||
}
|
}
|
||||||
|
|
||||||
i += token.n;
|
i += token.n;
|
||||||
|
|
Loading…
Reference in New Issue