We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5068e51 commit aa23b1dCopy full SHA for aa23b1d
pymysqlreplication/row_event.py
@@ -208,10 +208,8 @@ def __read_fsp(self, column):
208
if read > 0:
209
microsecond = self.packet.read_int_be_by_size(read)
210
if column.fsp % 2:
211
- return int(microsecond / 10)
212
- else:
213
- return microsecond
214
-
+ microsecond = int(microsecond / 10)
+ return microsecond * (10 ** (6-column.fsp))
215
return 0
216
217
def __read_string(self, size, column):
0 commit comments