From 985d1d6e496ca5349dd55da24731d2f8f1354eaf Mon Sep 17 00:00:00 2001 From: sean Date: Mon, 18 Sep 2023 22:37:41 +0900 Subject: [PATCH] delete print debug and print optional meta data conditional --- pymysqlreplication/row_event.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/pymysqlreplication/row_event.py b/pymysqlreplication/row_event.py index be55a8ce..2029a3d9 100644 --- a/pymysqlreplication/row_event.py +++ b/pymysqlreplication/row_event.py @@ -468,7 +468,6 @@ def _dump(self): "Column Name Information Flag: %s" % self.table_map[self.table_id].column_name_flag ) - print(self.table_map[self.table_id].data) def _fetch_rows(self): self.__rows = [] @@ -508,7 +507,6 @@ def _fetch_one_row(self): def _dump(self): super()._dump() print("Values:") - print(self.table.data) for row in self.rows: print("--") for key in row["values"]: @@ -700,7 +698,8 @@ def _dump(self): print("Schema: %s" % (self.schema)) print("Table: %s" % (self.table)) print("Columns: %s" % (self.column_count)) - self.optional_metadata.dump() + if self.__optional_meta_data: + self.optional_metadata.dump() def _get_optional_meta_data(self): """