Skip to content

Commit 260ed10

Browse files
Kparobo Abaladougwilson
Kparobo Abala
authored andcommitted
docs: fix missing word in terminating connections
closes #2459
1 parent 7b23bca commit 260ed10

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Readme.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -364,9 +364,9 @@ connection.end(function(err) {
364364
});
365365
```
366366

367-
This will make sure all previously enqueued queries are still before sending a
368-
`COM_QUIT` packet to the MySQL server. If a fatal error occurs before the
369-
`COM_QUIT` packet can be sent, an `err` argument will be provided to the
367+
This will make sure all previously enqueued queries are still executed before
368+
sending a `COM_QUIT` packet to the MySQL server. If a fatal error occurs before
369+
the `COM_QUIT` packet can be sent, an `err` argument will be provided to the
370370
callback, but the connection will be terminated regardless of that.
371371

372372
An alternative way to end the connection is to call the `destroy()` method.

0 commit comments

Comments
 (0)