mirror of
https://github.com/ckaczor/azuredatastudio.git
synced 2026-02-17 02:51:36 -05:00
clear buffer when a batch is completed (#10382)
This commit is contained in:
@@ -324,6 +324,8 @@ export class ExtHostDataProtocol extends ExtHostDataProtocolShape {
|
|||||||
if (this.uriTransformer) {
|
if (this.uriTransformer) {
|
||||||
batchInfo.ownerUri = URI.from(this.uriTransformer.transformOutgoing(URI.parse(batchInfo.ownerUri))).toString(true);
|
batchInfo.ownerUri = URI.from(this.uriTransformer.transformOutgoing(URI.parse(batchInfo.ownerUri))).toString(true);
|
||||||
}
|
}
|
||||||
|
this.messageRunner.cancel(); // clear batch messages before saying we completed the batch
|
||||||
|
this.sendMessages();
|
||||||
this._proxy.$onBatchComplete(handle, batchInfo);
|
this._proxy.$onBatchComplete(handle, batchInfo);
|
||||||
}
|
}
|
||||||
$onResultSetAvailable(handle: number, resultSetInfo: azdata.QueryExecuteResultSetNotificationParams): void {
|
$onResultSetAvailable(handle: number, resultSetInfo: azdata.QueryExecuteResultSetNotificationParams): void {
|
||||||
|
|||||||
Reference in New Issue
Block a user