Skip to content

Commit 979ee16

Browse files
Merge pull request #139 from xiezhenye/fix_seq_no
fix: missing update _next_seq_no
2 parents c3a9175 + 12fa276 commit 979ee16

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)