Skip to content

Commit 92f5d0e

Browse files
authored
Adding TRANSFER keyword and fixing smart completion flag. (#132)
1 parent d066003 commit 92f5d0e

File tree

2 files changed

+2
-5
lines changed

2 files changed

+2
-5
lines changed

mssqlcli/main.py

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -167,10 +167,6 @@ def __init__(self, force_passwd_prompt=False,
167167

168168
self.query_history = []
169169

170-
# Initialize completer
171-
# Smart completion is not-supported in Public Preview. Tracked by
172-
# GitHub issue number 47.
173-
smart_completion = False
174170
keyword_casing = c['main']['keyword_casing']
175171
self.settings = {
176172
'casing_file': get_casing_file(c),
@@ -185,7 +181,7 @@ def __init__(self, force_passwd_prompt=False,
185181
'keyword_casing': keyword_casing,
186182
}
187183

188-
completer = MssqlCompleter(smart_completion, settings=self.settings)
184+
completer = MssqlCompleter(settings=self.settings)
189185

190186
self.completer = completer
191187
self._completer_lock = threading.Lock()

mssqlcli/packages/mssqlliterals/sqlliterals.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -335,6 +335,7 @@
335335
"TO": [],
336336
"TOP": [],
337337
"TRAN": [],
338+
"TRANSFER": [],
338339
"TRANSACTION": [],
339340
"TRIGGER": [],
340341
"TRUNCATE": [],

0 commit comments

Comments
 (0)