Skip to content

Commit f2829ce

Browse files
swftvsnaikar
authored andcommitted
Update execute.js
1 parent 6aee462 commit f2829ce

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

lib/commands/execute.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,12 @@ Execute.prototype.start = function(packet, connection) {
5050
this.parameters,
5151
connection.config.charsetNumber
5252
);
53+
//For reasons why this try-catch is here, please see
54+
// https://github.com/sidorares/node-mysql2/pull/689
55+
//For additional discussion, see
56+
// 1. https://github.com/sidorares/node-mysql2/issues/493
57+
// 2. https://github.com/sidorares/node-mysql2/issues/187
58+
// 3. https://github.com/sidorares/node-mysql2/issues/480
5359
try {
5460
connection.writePacket(executePacket.toPacket(1));
5561
} catch (error) {

0 commit comments

Comments
 (0)