mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-16 10:58:30 -05:00
Corrected Keyboard Shortcut Execution Issue (#5480)
This commit is contained in:
@@ -210,6 +210,7 @@ export class QueryManagementService implements IQueryManagementService {
|
|||||||
});
|
});
|
||||||
}
|
}
|
||||||
public runQueryString(ownerUri: string, queryString: string): Thenable<void> {
|
public runQueryString(ownerUri: string, queryString: string): Thenable<void> {
|
||||||
|
this.addTelemetry(TelemetryKeys.RunQueryString, ownerUri);
|
||||||
return this._runAction(ownerUri, (runner) => {
|
return this._runAction(ownerUri, (runner) => {
|
||||||
return runner.runQueryString(ownerUri, queryString);
|
return runner.runQueryString(ownerUri, queryString);
|
||||||
});
|
});
|
||||||
|
|||||||
@@ -197,6 +197,8 @@ export default class QueryRunner extends Disposable {
|
|||||||
this._isExecuting = true;
|
this._isExecuting = true;
|
||||||
this._totalElapsedMilliseconds = 0;
|
this._totalElapsedMilliseconds = 0;
|
||||||
|
|
||||||
|
this._onQueryStart.fire();
|
||||||
|
|
||||||
return this._queryManagementService.runQueryString(this.uri, input).then(() => this.handleSuccessRunQueryResult(), e => this.handleFailureRunQueryResult(e));
|
return this._queryManagementService.runQueryString(this.uri, input).then(() => this.handleSuccessRunQueryResult(), e => this.handleFailureRunQueryResult(e));
|
||||||
} else {
|
} else {
|
||||||
return Promise.reject('Unknown input');
|
return Promise.reject('Unknown input');
|
||||||
|
|||||||
@@ -20,6 +20,7 @@ export const ChartCreated = 'ChartCreated';
|
|||||||
export const ObjectExplorerExpand = 'ObjectExplorerExpand';
|
export const ObjectExplorerExpand = 'ObjectExplorerExpand';
|
||||||
export const RunQuery = 'RunQuery';
|
export const RunQuery = 'RunQuery';
|
||||||
export const RunQueryStatement = 'RunQueryStatement';
|
export const RunQueryStatement = 'RunQueryStatement';
|
||||||
|
export const RunQueryString = 'RunQueryString';
|
||||||
export const CancelQuery = 'CancelQuery';
|
export const CancelQuery = 'CancelQuery';
|
||||||
export const NewQuery = 'NewQuery';
|
export const NewQuery = 'NewQuery';
|
||||||
export const FirewallRuleRequested = 'FirewallRuleCreated';
|
export const FirewallRuleRequested = 'FirewallRuleCreated';
|
||||||
|
|||||||
Reference in New Issue
Block a user