summaryrefslogtreecommitdiff
path: root/sqlparse
diff options
context:
space:
mode:
Diffstat (limited to 'sqlparse')
-rw-r--r--sqlparse/engine/filter.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/sqlparse/engine/filter.py b/sqlparse/engine/filter.py
index 64f4079..241f5ea 100644
--- a/sqlparse/engine/filter.py
+++ b/sqlparse/engine/filter.py
@@ -62,6 +62,7 @@ class StatementFilter(TokenFilter):
if ttype is T.Keyword.DDL and unified.startswith('CREATE'):
self._is_create = True
+ return 0
if unified in ('IF', 'FOR') and self._is_create:
return 1