summaryrefslogtreecommitdiff
path: root/sqlparse
diff options
context:
space:
mode:
authorAndi Albrecht <andi@lap-pu35.prounix.local>2017-01-23 12:18:59 +0100
committerAndi Albrecht <andi@lap-pu35.prounix.local>2017-01-23 12:18:59 +0100
commit702468a3147883cc0de7a2096d2c23d9c31565eb (patch)
treeb888ec724b8a5be32c8b77f539149aed2f229e67 /sqlparse
parent5a16cf5badd664b64dff7a8541379b5966fea21a (diff)
downloadsqlparse-702468a3147883cc0de7a2096d2c23d9c31565eb.tar.gz
Don't treat STATE as a keyword, it causes too much troubles (fixes #296).
Diffstat (limited to 'sqlparse')
-rw-r--r--sqlparse/keywords.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/sqlparse/keywords.py b/sqlparse/keywords.py
index 48d37f0..b938201 100644
--- a/sqlparse/keywords.py
+++ b/sqlparse/keywords.py
@@ -513,7 +513,7 @@ KEYWORDS = {
'SQLWARNING': tokens.Keyword,
'STABLE': tokens.Keyword,
'START': tokens.Keyword.DML,
- 'STATE': tokens.Keyword,
+ # 'STATE': tokens.Keyword,
'STATEMENT': tokens.Keyword,
'STATIC': tokens.Keyword,
'STATISTICS': tokens.Keyword,