mariadb/storage
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
..
archive Merge branch '10.1' into 10.2 2018-06-21 23:47:39 +02:00
blackhole
cassandra Merge branch '10.1' into 10.2 2017-03-30 12:48:42 +02:00
connect Merge branch 'connect/10.2' into 10.2 2018-06-24 15:27:38 +02:00
csv Merge branch '10.0' into 10.1 2018-06-12 18:55:27 +03:00
example
federated Merge branch '10.1' into 10.2 2018-06-21 23:47:39 +02:00
federatedx Merge branch '10.1' into 10.2 2018-06-21 23:47:39 +02:00
heap Merge branch '10.1' into 10.2 2018-06-21 23:47:39 +02:00
innobase MDEV-16809 Allow full redo logging for ALTER TABLE 2018-07-26 08:44:42 +03:00
maria Merge branch '10.1' into 10.2 2018-06-21 23:47:39 +02:00
mroonga fix mroonga post-install script 2018-06-24 15:18:36 +02:00
myisam Merge branch '10.1' into 10.2 2018-06-21 23:47:39 +02:00
myisammrg Remove most 'register' use in C++ 2018-04-24 12:48:27 +03:00
oqgraph Merge 10.1 into 10.2 2018-04-24 09:39:45 +03:00
perfschema Merge branch '10.1' into 10.2 2018-05-10 13:01:42 +02:00
rocksdb MDEV-16525: MyRocks linking fails with: Undefined reference to `ZDICT_trainFromBuffer' 2018-06-20 01:23:07 +03:00
sequence Fix several compile warnings on Windows 2017-03-17 08:56:57 +00:00
sphinx Merge 10.1 into 10.2 2018-05-29 16:52:12 +03:00
spider MDEV-15786: ERROR 1062 (23000) at line 365: Duplicate entry 'spider' for key 'PRIMARY' 2018-07-23 14:14:23 -07:00
test_sql_discovery MDEV-13712 Spelling errors in the error message 2017-09-18 10:12:23 +02:00
tokudb Merge branch '10.1' into 10.2 2018-06-21 23:47:39 +02:00
xtradb Merge 10.1 into 10.2 2018-06-26 18:16:49 +03:00