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.
1 parent 1ff4b90 commit b7cf26aCopy full SHA for b7cf26a
lib/protocol/packets/OkPacket.js
@@ -15,6 +15,12 @@ OkPacket.prototype.parse = function(parser) {
15
this.serverStatus = parser.parseUnsignedNumber(2);
16
this.warningCount = parser.parseUnsignedNumber(2);
17
this.message = parser.parsePacketTerminatedString();
18
+
19
+ var m = this.message.match(/\schanged:\s*(\d+)/i);
20
21
+ if (m !== null) {
22
+ this.changedRows = parseInt(m[1], 10);
23
+ }
24
};
25
26
OkPacket.prototype.write = function(writer) {
0 commit comments