mirror of
https://github.com/MariaDB/server.git
synced 2025-01-29 02:05:57 +01:00
4c226c1850
The solution is to suppress error messages for missing tablespaces if mariabackup is launched with "--prepare --export" options. "mariabackup --prepare --export" invokes itself with --mysqld parameter. If the parameter is set, then it starts server to feed "FLUSH TABLES ... FOR EXPORT;" queries for exported tablespaces. This is "normal" server start, that's why new srv_operation value is introduced. Reviewed by Marko Makela.
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
|