diff --git a/lib/commands/query.js b/lib/commands/query.js index 115866ca6a..ffad6c020b 100644 --- a/lib/commands/query.js +++ b/lib/commands/query.js @@ -26,6 +26,7 @@ class Query extends Command { this._fieldCount = 0; this._rowParser = null; this._fields = []; + // Warning counts for SELECT queries only, does not included warning counts for DML queries. this._warningCounts = []; this._rows = []; this._receivedFieldsCount = 0;