summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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