diff options
| author | Andi Albrecht <albrecht.andi@gmail.com> | 2016-03-07 11:20:47 +0100 |
|---|---|---|
| committer | Andi Albrecht <albrecht.andi@gmail.com> | 2016-03-07 11:20:47 +0100 |
| commit | 8f39d3367e8878e5f9a09b0166e3f0f73626e67d (patch) | |
| tree | 9c941e82db9ce322b909241a2a9de4357be79374 /sqlparse/keywords.py | |
| parent | 56e72ace0e6dcc7b4faac9fe9a3de29371d07932 (diff) | |
| parent | f516b66a0e254af510b6b8a18510aad922d69701 (diff) | |
| download | sqlparse-8f39d3367e8878e5f9a09b0166e3f0f73626e67d.tar.gz | |
Merge pull request #228 from compareasiagroup/master
Fix for #227 (get_type() doesn't work for queries that use WITH)
Diffstat (limited to 'sqlparse/keywords.py')
| -rw-r--r-- | sqlparse/keywords.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sqlparse/keywords.py b/sqlparse/keywords.py index b6c4246..dd08be0 100644 --- a/sqlparse/keywords.py +++ b/sqlparse/keywords.py @@ -486,7 +486,7 @@ KEYWORDS = { 'VOLATILE': tokens.Keyword, 'WHENEVER': tokens.Keyword, - 'WITH': tokens.Keyword, + 'WITH': tokens.Keyword.CTE, 'WITHOUT': tokens.Keyword, 'WORK': tokens.Keyword, 'WRITE': tokens.Keyword, |
