• Alexander Ivanov's avatar
    MWL#36: Add a mysqlbinlog option to change the used database. · f79aed87
    Alexander Ivanov authored
    Add rewrite_db() member to the Table_map_log_event class.
    Each RBR-event in binary log is preceded by a Table_map event
    containing a (db_id, db_name) pair. The rewrite_db(new_name)
    function replaces db_name by new_name in a buffer containing
    Table_map event read from the binary log.
    f79aed87
log_event.h 117 KB