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.
2 parents a0f5638 + 4b8c637 commit 68fe6c7Copy full SHA for 68fe6c7
pymysqlreplication/binlogstream.py
@@ -82,6 +82,8 @@ def __connect_to_stream(self):
82
# log_file (string.EOF) -- filename of the binlog on the master
83
self._stream_connection = pymysql.connect(**self.__connection_settings)
84
85
+ self.__use_checksum = self.__checksum_enabled()
86
+
87
#If cheksum is enabled we need to inform the server about the that we support it
88
if self.__use_checksum:
89
cur = self._stream_connection.cursor()
0 commit comments