removing feature specific query plan flag (#18330)

This commit is contained in:
Aasim Khan
2022-02-11 14:17:39 -08:00
committed by GitHub
parent b65e6d0bab
commit b25935f8a5
2 changed files with 1 additions and 24 deletions

View File

@@ -331,7 +331,7 @@ export class QueryManagementService implements IQueryManagementService {
public onResultSetUpdated(resultSetInfo: azdata.QueryExecuteResultSetNotificationParams): void {
this._notify(resultSetInfo.ownerUri, (runner: QueryRunner) => {
runner.handleResultSetUpdated(resultSetInfo.resultSetSummary);
if (resultSetInfo.executionPlans && this._configurationService.getValue('queryPlan2.enableFeature')) {
if (resultSetInfo.executionPlans && this._configurationService.getValue('workbench.enablePreviewFeatures')) {
runner.handleQueryPlan2Available(resultSetInfo.executionPlans);
}
});