Skip to content

Commit c7e0777

Browse files
idop-aloomabaloo
authored andcommitted
Added read fsp when datetime parsing fails (julien-duponchelle#236)
1 parent 86a07a2 commit c7e0777

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

pymysqlreplication/row_event.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -342,6 +342,7 @@ def __read_datetime2(self, column):
342342
minute=self.__read_binary_slice(data, 28, 6, 40),
343343
second=self.__read_binary_slice(data, 34, 6, 40))
344344
except ValueError:
345+
self.__read_fsp(column)
345346
return None
346347
return self.__add_fsp_to_time(t, column)
347348

0 commit comments

Comments
 (0)