diff options
author | Andi Albrecht <albrecht.andi@gmail.com> | 2015-01-17 09:11:59 +0100 |
---|---|---|
committer | Andi Albrecht <albrecht.andi@gmail.com> | 2015-01-17 09:11:59 +0100 |
commit | 7e4ee102e95f870af2ee89edcfd7aa680b8f031c (patch) | |
tree | 44f2c342345f2c83d12633a90d2f234f461bf15e | |
parent | 17f85aeb4c33895eb5ce88a844b814b112aec66c (diff) | |
download | sqlparse-7e4ee102e95f870af2ee89edcfd7aa680b8f031c.tar.gz |
Add TINYINT keyword (fixes #154).
-rw-r--r-- | CHANGES | 2 | ||||
-rw-r--r-- | sqlparse/keywords.py | 1 |
2 files changed, 2 insertions, 1 deletions
@@ -3,7 +3,7 @@ Development Version Bug Fixes * Fix a regression for identifiers with square bracktes notation (issue153). -* Add missing SQL types (issue155, issue156). +* Add missing SQL types (issue154, issue155, issue156). Enhancements * Improve formatting of HAVING statements. diff --git a/sqlparse/keywords.py b/sqlparse/keywords.py index 858c096..6d6b057 100644 --- a/sqlparse/keywords.py +++ b/sqlparse/keywords.py @@ -518,6 +518,7 @@ KEYWORDS = { 'SIGNED': tokens.Name.Builtin, 'SMALLINT': tokens.Name.Builtin, 'UNSIGNED': tokens.Name.Builtin, + 'TINYINT': tokens.Name.Builtin, 'VARCHAR': tokens.Name.Builtin, 'VARCHAR2': tokens.Name.Builtin, 'VARYING': tokens.Name.Builtin, |