File tree Expand file tree Collapse file tree 1 file changed +8
-7
lines changed
mysql_ch_replicator/pymysqlreplication Expand file tree Collapse file tree 1 file changed +8
-7
lines changed Original file line number Diff line number Diff line change @@ -310,7 +310,7 @@ def __connect_to_ctl(self):
310310 self ._ctl_connection = self .pymysql_wrapper (** self ._ctl_connection_settings )
311311 self ._ctl_connection ._get_dbms = self .__get_dbms
312312 self .__connected_ctl = True
313- self .__check_optional_meta_data ()
313+ # self.__check_optional_meta_data()
314314
315315 def __checksum_enabled (self ):
316316 """Return True if binlog-checksum = CRC32. Only for MySQL > 5.6"""
@@ -563,12 +563,13 @@ def __check_optional_meta_data(self):
563563 cur .execute ("SHOW VARIABLES LIKE 'BINLOG_ROW_METADATA';" )
564564 value = cur .fetchone ()
565565 if value is None : # BinLog Variable Not exist It means Not Supported Version
566- logging .log (
567- logging .WARN ,
568- """
569- Before using MARIADB 10.5.0 and MYSQL 8.0.14 versions,
570- use python-mysql-replication version Before 1.0 version """ ,
571- )
566+ pass
567+ # logging.log(
568+ # logging.WARN,
569+ # """
570+ # Before using MARIADB 10.5.0 and MYSQL 8.0.14 versions,
571+ # use python-mysql-replication version Before 1.0 version """,
572+ # )
572573 else :
573574 value = value .get ("Value" , "" )
574575 if value .upper () != "FULL" :
You can’t perform that action at this time.
0 commit comments