Skip to content

Commit 12fa276

Browse files
committed
fix: missing update _next_seq_no
1 parent c3a9175 commit 12fa276

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

pymysqlreplication/binlogstream.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -226,6 +226,7 @@ def __connect_to_stream(self):
226226
self._stream_connection.wfile.flush()
227227
else:
228228
self._stream_connection._write_bytes(prelude)
229+
self._stream_connection._next_seq_id = 1
229230
self.__connected_stream = True
230231

231232
def fetchone(self):

0 commit comments

Comments
 (0)