1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-30 16:24:05 +03:00

MDEV-16329 [4/5] Refactor MYSQL_BIN_LOG: extract Event_log ancestor

Event_log is supposed to be a basic logging class that can write events in
a single file.

MYSQL_BIN_LOG in comparison will have:
* rotation support
* index files
* purging
* gtid and transactional information handling.
* is dedicated for a general-purpose binlog
This commit is contained in:
Nikita Malyavin
2021-12-12 11:41:14 +03:00
committed by Sergei Golubchik
parent 6427e343cf
commit d2d0995cf2
8 changed files with 180 additions and 112 deletions

View File

@ -11014,7 +11014,7 @@ do_continue:;
binlog_as_create_select= 1;
DBUG_ASSERT(new_table->file->row_logging);
new_table->mark_columns_needed_for_insert();
thd->binlog_write_table_map(new_table, 1);
mysql_bin_log.write_table_map(thd, new_table, 1);
}
if (copy_data_between_tables(thd, table, new_table,
alter_info->create_list, ignore,