mariadb/storage
Vladislav Vaintroub 9c4b7cad27 MDEV-9566 Prepare xtradb for xtrabackup
These changes are comparable to Percona's modifications in innodb in the
Percona Xtrabackup repository.

- If functions are used in backup as well as in innodb, make them non-static.

- Define IS_XTRABACKUP() macro for special handling of innodb running
  inside backup.

- Extend some functions for backup.
  fil_space_for_table_exists_in_mem() gets additional parameter
  'remove_from_data_dict_if_does_not_exist', for partial backups

  fil_load_single_table_tablespaces() gets an optional parameter predicate
  which tells whether to load tablespace based on database or table name,
  also for partial backups.

  srv_undo_tablespaces_init() gets an optional parameter 'backup_mode'

- Allow single redo log file (for backup "prepare")

- Do not read doublewrite buffer pages in backup, they are outdated

- Add function fil_remove_invalid_table_from_data_dict(), to remove non-existing
   tables from data dictionary in case of partial backups.

- On Windows, fix file share modes when opening tablespaces,
to allow mariabackup to read tablespaces while server is online.

- Avoid access to THDVARs in backup, because innodb plugin is not loaded,
and THDVAR would crash in this case.
2017-04-27 19:12:39 +02:00
..
archive Merge branch '10.0' into 10.1 2016-03-21 13:02:53 +01:00
blackhole
cassandra Correct FSF address 2017-03-10 18:21:29 +01:00
connect MDEV-9566 prepare mysqltest for mariabackup 2017-04-27 19:12:38 +02:00
csv Merge branch '10.0' into 10.1 2016-03-21 13:02:53 +01:00
example
federated Merge branch '10.0' into 10.1 2016-03-21 13:02:53 +01:00
federatedx Merge branch '10.0' into 10.1 2016-05-04 15:23:26 +02:00
heap Sage cleanup in heap storage engine 2015-11-10 13:46:56 +02:00
innobase MDEV-11663 Create services for functionality used by plugins 2017-04-27 19:12:38 +02:00
maria Merge branch '10.0' into 10.1 2017-03-21 19:20:44 +01:00
mroonga Correct FSF address 2017-03-10 18:21:29 +01:00
myisam Merge branch '10.0' into 10.1 2017-03-21 19:20:44 +01:00
myisammrg Merge branch '10.0' into 10.1 2016-05-04 15:23:26 +02:00
oqgraph Correct FSF address 2017-03-10 18:21:29 +01:00
perfschema Merge branch '10.0' into 10.1 2017-01-16 03:18:14 +02:00
sequence test for group by pushdown with a view 2016-05-05 01:05:05 +02:00
sphinx Merge 10.0 into 10.1 2017-01-10 14:30:11 +02:00
spider Correct FSF address 2017-03-10 18:21:29 +01:00
test_sql_discovery MDEV-3929 Add system variable explicit_defaults_for_timestamp for compatibility with MySQL 2015-09-22 14:01:54 +04:00
tokudb Correct FSF address 2017-03-10 18:21:29 +01:00
xtradb MDEV-9566 Prepare xtradb for xtrabackup 2017-04-27 19:12:39 +02:00