From 7768a1a1bd67578ef2a591ac779782098716825d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jes=C3=BAs=20Legan=C3=A9s=20Combarro=20=22Piranna=22?= Date: Fri, 1 Jun 2012 23:05:56 +0200 Subject: Fixed bug on identifiers --- sqlparse/engine/grouping.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sqlparse') 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 -- cgit v1.2.1