Skip to content
This repository was archived by the owner on Mar 12, 2020. It is now read-only.

Commit b3a7e0c

Browse files
committed
Fix Query History
1 parent 6496dc8 commit b3a7e0c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

SQLToolsAPI/Connection.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -162,8 +162,8 @@ def execute(self, queries, callback, stream=False):
162162

163163
Log("Query: " + queryToRun)
164164

165-
if Connection.history:
166-
Connection.history.add(queryToRun)
165+
if self.history:
166+
self.history.add(queryToRun)
167167

168168
self.Command.createAndRun(self.builArgs(), queryToRun, callback, options={'show_query': self.show_query}, timeout=self.timeout, stream=stream)
169169

0 commit comments

Comments
 (0)