mirror of
https://github.com/MariaDB/server.git
synced 2025-04-22 15:15:41 +02:00

At the start of mariadb-backup --backup, trigger a flush of the InnoDB buffer pool, so that as little log as possible will have to be copied. The previously debug-build-only interface SET GLOBAL innodb_log_checkpoint_now=ON; will be made available on all builds, and mariadb-backup --backup will invoke it, unless the option --skip-innodb-log-checkpoint-now is specified. Reviewed by: Vladislav Vaintroub
22 lines
541 B
Text
22 lines
541 B
Text
select @@ignore_db_dirs;
|
|
@@ignore_db_dirs
|
|
db3,db4
|
|
CREATE TABLE t1(i INT) ENGINE INNODB;
|
|
INSERT INTO t1 VALUES(1);
|
|
CREATE TABLE t2(i int) ENGINE INNODB;
|
|
CREATE DATABASE db2;
|
|
USE db2;
|
|
CREATE TABLE t1(i INT) ENGINE INNODB;
|
|
USE test;
|
|
BEGIN;
|
|
INSERT INTO db2.t1 VALUES(20);
|
|
INSERT INTO test.t1 VALUES(20);
|
|
INSERT INTO test.t2 VALUES(20);
|
|
# xtrabackup backup
|
|
COMMIT;
|
|
t1.ibd
|
|
DROP TABLE t1;
|
|
DROP TABLE t2;
|
|
DROP DATABASE db2;
|
|
NOT FOUND /Operating system error number/ in backup.log
|
|
NOT FOUND /Could not find a valid tablespace file for/ in backup.log
|