summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndi Albrecht <albrecht.andi@gmail.com>2015-01-17 09:11:59 +0100
committerAndi Albrecht <albrecht.andi@gmail.com>2015-01-17 09:11:59 +0100
commit7e4ee102e95f870af2ee89edcfd7aa680b8f031c (patch)
tree44f2c342345f2c83d12633a90d2f234f461bf15e
parent17f85aeb4c33895eb5ce88a844b814b112aec66c (diff)
downloadsqlparse-7e4ee102e95f870af2ee89edcfd7aa680b8f031c.tar.gz
Add TINYINT keyword (fixes #154).
-rw-r--r--CHANGES2
-rw-r--r--sqlparse/keywords.py1
2 files changed, 2 insertions, 1 deletions
diff --git a/CHANGES b/CHANGES
index 2c5137c..1b79288 100644
--- a/CHANGES
+++ b/CHANGES
@@ -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,