Skip to content

Commit 7235300

Browse files
committed
Large array is parsed as an object #59
1 parent 064a987 commit 7235300

File tree

5 files changed

+325
-150
lines changed

5 files changed

+325
-150
lines changed

src/MySQLReplication/BinaryDataReader/BinaryDataReader.php

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,7 @@ public static function pack64bit(int $value): string
4343

4444
public function advance(int $length): void
4545
{
46-
$this->readBytes += $length;
47-
$this->data = substr($this->data, $length);
46+
$this->read($length);
4847
}
4948

5049
public function readInt16(): int

0 commit comments

Comments
 (0)