mariadb/storage
Marko Mäkelä d6f7fd6016 MDEV-13564: Refuse MLOG_TRUNCATE in mariabackup
The MySQL 5.7 TRUNCATE TABLE is inherently incompatible
with hot backup, because it is creating and deleting a separate
log file, and it is not writing redo log for all changes of the
InnoDB data dictionary tables. Refuse to create a corrupted backup
if the unsafe form of TRUNCATE was executed.

Note: Undo log tablespace truncation cannot be detected easily.
Also it is incompatible with backup, for similar reasons.

xtrabackup_backup_func(): "Subscribe to" the log events before
the first invocation of xtrabackup_copy_logfile().

recv_parse_or_apply_log_rec_body(): If the function pointer
log_truncate is set, invoke it to report MLOG_TRUNCATE.
2018-08-16 16:10:18 +03:00
..
archive Merge branch '10.1' into 10.2 2018-06-21 23:47:39 +02:00
blackhole
cassandra
connect Merge branch 'connect/10.2' into 10.2 2018-08-07 16:54:53 +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-13564: Refuse MLOG_TRUNCATE in mariabackup 2018-08-16 16:10:18 +03:00
maria Merge branch '10.1' into 10.2 2018-06-21 23:47:39 +02:00
mroonga Merge 10.1 into 10.2 2018-08-02 08:19:57 +03:00
myisam Merge 10.1 into 10.2 2018-08-02 08:19:57 +03: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-16859 MyRocks: support SSE42 CRC32-C instruction. 2018-08-15 11:18:49 +01:00
sequence
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
tokudb Merge branch '10.1' into 10.2 2018-06-21 23:47:39 +02:00
xtradb Merge 10.1 into 10.2 2018-08-03 13:02:56 +03:00