run the whole thing instead of current statement (#6757)

* run the whole thing instead of current statement

* backward compact
This commit is contained in:
Alan Ren
2019-08-15 13:43:08 -07:00
committed by GitHub
parent d4d11aa260
commit 314bd0e212
5 changed files with 14 additions and 8 deletions

View File

@@ -834,8 +834,8 @@ export function createAzdataApiFactory(accessor: ServicesAccessor): IAzdataExten
return extHostQueryEditor.$connect(fileUri, connectionId);
},
runQuery(fileUri: string, options?: Map<string, string>): void {
extHostQueryEditor.$runQuery(fileUri);
runQuery(fileUri: string, options?: Map<string, string>, runCurrentQuery: boolean = true): void {
extHostQueryEditor.$runQuery(fileUri, runCurrentQuery);
},
registerQueryEventListener(listener: azdata.queryeditor.QueryEventListener): void {