• Alexander Ivanov's avatar
    MWL#36: Add a mysqlbinlog option to change the used database. · ef5874d1
    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.
    ef5874d1
log_event.cc 300 KB