Skip to content

Commit 79716a5

Browse files
committed
fix int(column_type)
1 parent b18bf5f commit 79716a5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pymysqlreplication/row_event.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -617,7 +617,7 @@ def __init__(self, from_packet, event_size, table_map, ctl_connection, **kwargs)
617617
'COLUMN_TYPE': 'BLOB', # we don't know what it is, so let's not do anything with it.
618618
'COLUMN_KEY': '',
619619
}
620-
col = Column(column_type, column_schema, from_packet)
620+
col = Column(int(column_type), column_schema, from_packet)
621621
self.columns.append(col)
622622

623623
self.table_obj = Table(self.column_schemas, self.table_id, self.schema,

0 commit comments

Comments
 (0)