Add EXISTS, ILIKE, DISTINCT to KEYWORDS (closes #165898) stable
authorDenis Laxalde <denis.laxalde@logilab.fr>
Wed, 07 Aug 2013 20:07:53 +0200
branchstable
changeset 715 042ea5e6e08c
parent 714 2218f38af251
child 716 134b04defd20
Add EXISTS, ILIKE, DISTINCT to KEYWORDS (closes #165898)
utils.py
--- a/utils.py	Wed Aug 07 12:49:56 2013 +0200
+++ b/utils.py	Wed Aug 07 20:07:53 2013 +0200
@@ -61,7 +61,7 @@
 KEYWORDS = set(('INSERT', 'SET', 'DELETE',
                 'UNION', 'WITH', 'BEING',
                 'WHERE', 'AND', 'OR', 'NOT'
-                'IN', 'LIKE',
+                'IN', 'LIKE', 'ILIKE', 'EXISTS', 'DISTINCT',
                 'TRUE', 'FALSE', 'NULL', 'TODAY',
                 'GROUPBY', 'HAVING', 'ORDERBY', 'ASC', 'DESC',
                 'LIMIT', 'OFFSET'))