Skip to content

why the TableMapEvent pased by _ctl_connection  #238

Open
@queryDuan

Description

@queryDuan

why the TableMapEvent pased by _ctl_connection from master?Not parse from binlog?Beacuse when we has more than 10 thousand records import into mysql .It 's very slow.
The code is in pymysqlreplication.row_event.TableMapEvent class at line 579~582;
if self.table_id in table_map: self.column_schemas = table_map[self.table_id].column_schemas else: self.column_schemas = self._ctl_connection._get_table_information(self.schema, self.table)
the self.table_id property is always {}.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions