mariadb/storage/innobase/row
Marko Mäkelä 0f90728bc0 MDEV-16809 Allow full redo logging for ALTER TABLE
Introduce the configuration option innodb_log_optimize_ddl
for controlling whether native index creation or table-rebuild
in InnoDB should keep optimizing the redo log
(and writing MLOG_INDEX_LOAD records to ensure that
concurrent backup would fail).

By default, we have innodb_log_optimize_ddl=ON, that is,
the default behaviour that was introduced in MariaDB 10.2.2
(with the merge of InnoDB from MySQL 5.7) will be unchanged.

BtrBulk::m_trx: Replaces m_trx_id. We must be able to check for
KILL QUERY even if !m_flush_observer (innodb_log_optimize_ddl=OFF).

page_cur_insert_rec_write_log(): Declare globally, so that this
can be called from PageBulk::insert().

row_merge_insert_index_tuples(): Remove the unused parameter trx_id.

row_merge_build_indexes(): Enable or disable redo logging based on
the innodb_log_optimize_ddl parameter.

PageBulk::init(), PageBulk::insert(), PageBulk::finish(): Write
redo log records if needed. For ROW_FORMAT=COMPRESSED, redo log
will be written in PageBulk::compress() unless we called
m_mtr.set_log_mode(MTR_LOG_NO_REDO).
2018-07-26 08:44:42 +03:00
..
row0ext.cc
row0ftsort.cc MDEV-16809 Allow full redo logging for ALTER TABLE 2018-07-26 08:44:42 +03:00
row0import.cc Merge 10.1 into 10.2 2018-06-26 15:39:23 +03:00
row0ins.cc MDEV-15114 ASAN heap-use-after-free in mem_heap_dup or dfield_data_is_binary_equal 2018-06-19 16:23:34 +03:00
row0log.cc Reduce the number of rw_lock_own() calls 2018-07-23 17:49:01 +03:00
row0merge.cc MDEV-16809 Allow full redo logging for ALTER TABLE 2018-07-26 08:44:42 +03:00
row0mysql.cc Merge 10.1 into 10.2 2018-06-26 15:39:23 +03:00
row0purge.cc row_purge_poss_sec(): Add debug instrumentation 2018-07-23 18:34:06 +03:00
row0quiesce.cc
row0row.cc
row0sel.cc MDEV-16713 Hangs server with repeating log entry 2018-07-25 13:56:39 +05:30
row0trunc.cc MDEV-15855 Deadlock between purge thread and DDL statement 2018-07-06 17:13:53 +03:00
row0uins.cc
row0umod.cc Reduce the number of rw_lock_own() calls 2018-07-23 17:49:01 +03:00
row0undo.cc Revert "MDEV-14705: Do not rollback on InnoDB shutdown" 2018-04-10 08:55:20 +03:00
row0upd.cc MDEV-15114 ASAN heap-use-after-free in mem_heap_dup or dfield_data_is_binary_equal 2018-06-19 16:23:34 +03:00
row0vers.cc MDEV-16713 Hangs server with repeating log entry 2018-07-25 13:56:39 +05:30