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 34977e0 commit 0778fbaCopy full SHA for 0778fba
pymysqlreplication/event.py
@@ -486,8 +486,9 @@ def __init__(self,
486
self.packet.advance(1)
487
488
#string[EOF] query
489
- self.query: str = self.packet.read(event_size - 13 - self.status_vars_length
490
- - self.schema_length - 1).decode("utf-8")
+ query = self.packet.read(event_size - 13 - self.status_vars_length
+ - self.schema_length - 1)
491
+ self.query:str = query.decode("utf-8", errors='backslashreplace')
492
493
def _dump(self) -> None:
494
"""Dump the python objects for the event."""
0 commit comments