File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
src/MySQLReplication/Event/RowEvent Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -708,6 +708,7 @@ protected function getDatetime2(ColumnDTO $columnDTO): ?string
708
708
$ hour = $ this ->binaryDataReader ->getBinarySlice ($ data , 23 , 5 , 40 );
709
709
$ minute = $ this ->binaryDataReader ->getBinarySlice ($ data , 28 , 6 , 40 );
710
710
$ second = $ this ->binaryDataReader ->getBinarySlice ($ data , 34 , 6 , 40 );
711
+ $ fsp = $ this ->getFSP ($ columnDTO );
711
712
712
713
try {
713
714
$ date = new DateTime ($ year . '- ' . $ month . '- ' . $ day . ' ' . $ hour . ': ' . $ minute . ': ' . $ second );
@@ -718,7 +719,7 @@ protected function getDatetime2(ColumnDTO $columnDTO): ?string
718
719
return null ;
719
720
}
720
721
721
- return $ date ->format ('Y-m-d H:i:s ' ) . $ this -> getFSP ( $ columnDTO ) ;
722
+ return $ date ->format ('Y-m-d H:i:s ' ) . $ fsp ;
722
723
}
723
724
724
725
/**
You can’t perform that action at this time.
0 commit comments