diff options
Diffstat (limited to 'sqlparse/engine/statement_splitter.py')
-rw-r--r-- | sqlparse/engine/statement_splitter.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sqlparse/engine/statement_splitter.py b/sqlparse/engine/statement_splitter.py index 6c5b599..87fe993 100644 --- a/sqlparse/engine/statement_splitter.py +++ b/sqlparse/engine/statement_splitter.py @@ -29,7 +29,7 @@ class StatementSplitter(object): # ANSI # if normal token return # wouldn't parenthesis increase/decrease a level? - # no, inside a paranthesis can't start new statement + # no, inside a parenthesis can't start new statement if ttype not in T.Keyword: return 0 @@ -56,9 +56,9 @@ class StatementSplitter(object): return 1 return 0 - # Should this respect a preceeding BEGIN? + # Should this respect a preceding BEGIN? # In CASE ... WHEN ... END this results in a split level -1. - # Would having multiple CASE WHEN END and a Assigment Operator + # Would having multiple CASE WHEN END and a Assignment Operator # cause the statement to cut off prematurely? if unified == 'END': self._begin_depth = max(0, self._begin_depth - 1) |