change how query plan is handled (#2735)

This commit is contained in:
Anthony Dresser
2018-10-04 11:48:41 -07:00
committed by GitHub
parent 75d27837c2
commit 0693080630
3 changed files with 11 additions and 6 deletions

View File

@@ -203,6 +203,11 @@ export class QueryResultsView {
if (!this._panelView.contains(this.qpTab)) {
this._panelView.pushTab(this.qpTab);
}
} else if (queryRunner.isQueryPlan) {
let disp = queryRunner.onResultSet(() => {
this.showPlan(queryRunner.planXml);
disp.dispose();
});
}
if (this.input.state.activeTab) {
this._panelView.showTab(this.input.state.activeTab);