Merge pull request #67 from Sonalisinghal/trailingSc
It is a small fix that solves some known pain. Thank you!
This commit is contained in:
Коммит
97c89b853c
|
@ -32,6 +32,7 @@ def __deploy__():
|
|||
|
||||
def parse(sql):
|
||||
try:
|
||||
sql = sql.rstrip().rstrip(";")
|
||||
parse_result = SQLParser.parseString(sql, parseAll=True)
|
||||
except Exception as e:
|
||||
if isinstance(e, ParseException) and e.msg == "Expected end of text":
|
||||
|
|
Загрузка…
Ссылка в новой задаче