Skip to content

Commit

Permalink
Refactor logic to update flag value based on the "annotate event rows…
Browse files Browse the repository at this point in the history
…" parameter
  • Loading branch information
chungeun-choi committed Jul 28, 2023
1 parent 7e1084d commit f23eba2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pymysqlreplication/binlogstream.py
Original file line number Diff line number Diff line change
Expand Up @@ -389,7 +389,7 @@ def __connect_to_stream(self):

# Enable annotate rows event
if self.__annotate_rows_event:
flags = 2
flags |= 0x02

if not self.__blocking:
flags |= 0x01 # BINLOG_DUMP_NON_BLOCK
Expand Down

0 comments on commit f23eba2

Please sign in to comment.