We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 0dd8e16 + c9f2eaa commit 61d473fCopy full SHA for 61d473f
lib/commands/query.js
@@ -44,7 +44,8 @@ class Query extends Command {
44
throw new Error(err);
45
}
46
47
- start(packet, connection) {
+ /* eslint no-unused-vars: ["error", { "argsIgnorePattern": "^_" }] */
48
+ start(_packet, connection) {
49
if (connection.config.debug) {
50
// eslint-disable-next-line
51
console.log(' Sending query command: %s', this.sql);
@@ -226,7 +227,8 @@ class Query extends Command {
226
227
return this.row;
228
229
- row(packet) {
230
231
+ row(packet, _connection) {
232
if (packet.isEOF()) {
233
const status = packet.eofStatusFlags();
234
const moreResults = status & ServerStatus.SERVER_MORE_RESULTS_EXISTS;
0 commit comments