diff options
author | Andi Albrecht <albrecht.andi@gmail.com> | 2013-11-06 03:01:21 -0800 |
---|---|---|
committer | Andi Albrecht <albrecht.andi@gmail.com> | 2013-11-06 03:01:21 -0800 |
commit | cda4af96d512e0a2878eae9573930127047b4e98 (patch) | |
tree | 00c7b9e2ea13a66533ac91a1f163fd810561e963 | |
parent | 6e476cfded15af3d41bcefadecbae51aa65f82ec (diff) | |
parent | 22a1f4ae7bad8740e554b73a6b01e8451cb68f33 (diff) | |
download | sqlparse-cda4af96d512e0a2878eae9573930127047b4e98.tar.gz |
Merge pull request #116 from victorhahncastell/master
Update keywords.py
-rw-r--r-- | sqlparse/keywords.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sqlparse/keywords.py b/sqlparse/keywords.py index bbf3c6b..f1d76d0 100644 --- a/sqlparse/keywords.py +++ b/sqlparse/keywords.py @@ -29,7 +29,7 @@ KEYWORDS = { 'BACKWARD': tokens.Keyword, 'BEFORE': tokens.Keyword, - 'BEGIN': tokens.Keyword, + 'BEGIN': tokens.Keyword.DML, 'BETWEEN': tokens.Keyword, 'BITVAR': tokens.Keyword, 'BIT_LENGTH': tokens.Keyword, @@ -73,7 +73,7 @@ KEYWORDS = { 'COMMAND_FUNCTION': tokens.Keyword, 'COMMAND_FUNCTION_CODE': tokens.Keyword, 'COMMENT': tokens.Keyword, - 'COMMIT': tokens.Keyword, + 'COMMIT': tokens.Keyword.DML, 'COMMITTED': tokens.Keyword, 'COMPLETION': tokens.Keyword, 'CONDITION_NUMBER': tokens.Keyword, @@ -355,7 +355,7 @@ KEYWORDS = { 'REVOKE': tokens.Keyword, 'RIGHT': tokens.Keyword, 'ROLE': tokens.Keyword, - 'ROLLBACK': tokens.Keyword, + 'ROLLBACK': tokens.Keyword.DML, 'ROLLUP': tokens.Keyword, 'ROUTINE': tokens.Keyword, 'ROUTINE_CATALOG': tokens.Keyword, @@ -401,7 +401,7 @@ KEYWORDS = { 'SQLSTATE': tokens.Keyword, 'SQLWARNING': tokens.Keyword, 'STABLE': tokens.Keyword, - 'START': tokens.Keyword, + 'START': tokens.Keyword.DML, 'STATE': tokens.Keyword, 'STATEMENT': tokens.Keyword, 'STATIC': tokens.Keyword, |