summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesús Leganés Combarro "Piranna" <piranna@gmail.com>2012-06-01 23:05:56 +0200
committerJesús Leganés Combarro "Piranna" <piranna@gmail.com>2012-06-01 23:05:56 +0200
commit7768a1a1bd67578ef2a591ac779782098716825d (patch)
tree1479532e4817c540b34d0a713968c8c47ca6bac3
parent46014daed27b6cb0f042b6820937d391a2b2d424 (diff)
downloadsqlparse-7768a1a1bd67578ef2a591ac779782098716825d.tar.gz
Fixed bug on identifiers
-rw-r--r--sqlparse/engine/grouping.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/sqlparse/engine/grouping.py b/sqlparse/engine/grouping.py
index 095827c..4120fc3 100644
--- a/sqlparse/engine/grouping.py
+++ b/sqlparse/engine/grouping.py
@@ -234,7 +234,7 @@ def group_identifier_list(tlist):
continue
elif(next_.ttype == T.Keyword
- and next_.value not in ('FROM', 'WHERE', 'GROUP')):
+ and next_.value.upper() not in ('FROM', 'WHERE', 'GROUP')):
tcomma = next_
continue