Skip to content

Commit 985d1d6

Browse files
committed
delete print debug and print optional meta data conditional
1 parent 8949087 commit 985d1d6

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

pymysqlreplication/row_event.py

+2-3
Original file line numberDiff line numberDiff line change
@@ -468,7 +468,6 @@ def _dump(self):
468468
"Column Name Information Flag: %s"
469469
% self.table_map[self.table_id].column_name_flag
470470
)
471-
print(self.table_map[self.table_id].data)
472471

473472
def _fetch_rows(self):
474473
self.__rows = []
@@ -508,7 +507,6 @@ def _fetch_one_row(self):
508507
def _dump(self):
509508
super()._dump()
510509
print("Values:")
511-
print(self.table.data)
512510
for row in self.rows:
513511
print("--")
514512
for key in row["values"]:
@@ -700,7 +698,8 @@ def _dump(self):
700698
print("Schema: %s" % (self.schema))
701699
print("Table: %s" % (self.table))
702700
print("Columns: %s" % (self.column_count))
703-
self.optional_metadata.dump()
701+
if self.__optional_meta_data:
702+
self.optional_metadata.dump()
704703

705704
def _get_optional_meta_data(self):
706705
"""

0 commit comments

Comments
 (0)