Skip to content

Commit 02d0eef

Browse files
committed
Update RowEvent.php
1 parent 674fe67 commit 02d0eef

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/MySQLReplication/Event/RowEvent/RowEvent.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -662,7 +662,7 @@ protected function getDecimal(ColumnDTO $columnDTO): string
662662
$res .= sprintf('%0' . $compFractional . 'd', $value);
663663
}
664664

665-
return bcmul($res, '1', $columnDTO->getPrecision());
665+
return bcmul($res, '1', $columnDTO->getDecimals());
666666
}
667667

668668
protected function getDatetime(): ?string

0 commit comments

Comments
 (0)