Skip to content

Commit a2c5685

Browse files
committed
Test parsing fix
1 parent 9b88cb6 commit a2c5685

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/binlog_event.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,8 @@ BinlogEvent.prototype._readTableId = function (parser) {
3030

3131
function Heartbeat(parser) {
3232
BinlogEvent.apply(this, arguments);
33-
this.binlogName = parser.parseString(this.size - 8);
34-
this.position = Common.parseUInt64(parser);
33+
this.binlogName = parser.parseString(this.size);
34+
this.position = 'nonsense'; //Common.parseUInt64(parser);
3535
}
3636
util.inherits(Heartbeat, BinlogEvent);
3737

0 commit comments

Comments
 (0)