summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAmjith Ramanujam <amjith.r@gmail.com>2024-05-13 12:51:43 -0700
committerGitHub <noreply@github.com>2024-05-13 12:51:43 -0700
commitaf5a17d980450e184cfc25e56e0e91a1389d378d (patch)
tree073286e59f0fa0af0bebb778584b8dea8257b504
parent3bc201e4ceb62c81c2dc9ea9c0fa2cedecb8e851 (diff)
parent326a5d68cdc713e78c8071ca2b01648def70b983 (diff)
Merge pull request #1162 from mohamedrezk122/remove-duplicate-token
Remove duplicate `SMALLINT` token in `sqlcompleter`
-rw-r--r--mycli/AUTHORS1
-rw-r--r--mycli/sqlcompleter.py2
2 files changed, 2 insertions, 1 deletions
diff --git a/mycli/AUTHORS b/mycli/AUTHORS
index e9c73aa..baa9ada 100644
--- a/mycli/AUTHORS
+++ b/mycli/AUTHORS
@@ -96,6 +96,7 @@ Contributors:
* Alfred Wingate
* Zhanze Wang
* Houston Wong
+ * Mohamed Rezk
Created by:
diff --git a/mycli/sqlcompleter.py b/mycli/sqlcompleter.py
index ab42fb8..17363f4 100644
--- a/mycli/sqlcompleter.py
+++ b/mycli/sqlcompleter.py
@@ -31,7 +31,7 @@ class SQLCompleter(Completer):
'PORT', 'PRIMARY', 'PRIVILEGES', 'PROCESSLIST', 'PURGE',
'REFERENCES', 'REGEXP', 'RENAME', 'REPAIR', 'RESET', 'REVOKE',
'RIGHT', 'ROLLBACK', 'ROW', 'ROWS', 'ROW_FORMAT', 'SAVEPOINT',
- 'SESSION', 'SET', 'SHARE', 'SHOW', 'SLAVE', 'SMALLINT', 'SMALLINT',
+ 'SESSION', 'SET', 'SHARE', 'SHOW', 'SLAVE', 'SMALLINT',
'START', 'STOP', 'TABLE', 'THEN', 'TINYINT', 'TO', 'TRANSACTION',
'TRIGGER', 'TRUNCATE', 'UNION', 'UNIQUE', 'UNSIGNED', 'USE',
'USER', 'USING', 'VALUES', 'VARCHAR', 'VIEW', 'WHEN', 'WITH'