Reset query messages for each execution (#3772)

This commit is contained in:
Karl Burtram
2019-01-17 17:53:05 -08:00
committed by GitHub
parent 49090d774d
commit 1de16d4715

View File

@@ -191,6 +191,7 @@ export default class QueryRunner extends Disposable {
this._hasCompleted = false;
this._queryStartTime = undefined;
this._queryEndTime = undefined;
this._messages = [];
if (types.isObject(input) || types.isUndefinedOrNull(input)) {
// Update internal state to show that we're executing the query
this._resultLineOffset = input ? input.startLine : 0;