mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-16 18:46:40 -05:00
change way we show query plan (#2866)
This commit is contained in:
committed by
Karl Burtram
parent
225d168fdd
commit
ac1f7542a9
@@ -203,12 +203,12 @@ export class QueryResultsView {
|
|||||||
if (!this._panelView.contains(this.qpTab)) {
|
if (!this._panelView.contains(this.qpTab)) {
|
||||||
this._panelView.pushTab(this.qpTab);
|
this._panelView.pushTab(this.qpTab);
|
||||||
}
|
}
|
||||||
} else if (queryRunner.isQueryPlan) {
|
|
||||||
let disp = queryRunner.onResultSet(() => {
|
|
||||||
this.showPlan(queryRunner.planXml);
|
|
||||||
disp.dispose();
|
|
||||||
});
|
|
||||||
}
|
}
|
||||||
|
this.runnerDisposables.push(queryRunner.onResultSet(() => {
|
||||||
|
if (queryRunner.isQueryPlan) {
|
||||||
|
this.showPlan(queryRunner.planXml);
|
||||||
|
}
|
||||||
|
}));
|
||||||
if (this.input.state.activeTab) {
|
if (this.input.state.activeTab) {
|
||||||
this._panelView.showTab(this.input.state.activeTab);
|
this._panelView.showTab(this.input.state.activeTab);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user