Skip to content

Commit

Permalink
delete print debug and print optional meta data conditional
Browse files Browse the repository at this point in the history
  • Loading branch information
sean-k1 committed Sep 18, 2023
1 parent 8949087 commit 985d1d6
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions pymysqlreplication/row_event.py
Original file line number Diff line number Diff line change
Expand Up @@ -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 = []
Expand Down Expand Up @@ -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"]:
Expand Down Expand Up @@ -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):
"""
Expand Down

0 comments on commit 985d1d6

Please sign in to comment.