2017-04-18 19:52:03 +00:00
|
|
|
CREATE TABLE t1(i INT) ENGINE INNODB;
|
|
|
|
INSERT INTO t1 VALUES(1);
|
2017-09-07 22:53:21 +00:00
|
|
|
CREATE TABLE t21(i INT) ENGINE INNODB;
|
|
|
|
INSERT INTO t21 VALUES(1);
|
2017-04-18 19:52:03 +00:00
|
|
|
CREATE TABLE t2(i int) ENGINE INNODB;
|
|
|
|
# xtrabackup backup
|
2021-05-17 18:12:33 +03:00
|
|
|
t1.new
|
|
|
|
t21.new
|
2017-04-18 19:52:03 +00:00
|
|
|
# xtrabackup prepare
|
2017-09-07 22:53:21 +00:00
|
|
|
t1.cfg
|
|
|
|
t21.cfg
|
2017-04-18 19:52:03 +00:00
|
|
|
ALTER TABLE t1 DISCARD TABLESPACE;
|
|
|
|
ALTER TABLE t1 IMPORT TABLESPACE;
|
|
|
|
SELECT * FROM t1;
|
|
|
|
i
|
|
|
|
1
|
2024-01-23 20:43:39 +05:30
|
|
|
# MDEV-33023 Crash in mariadb-backup --prepare --export after --prepare
|
|
|
|
t1.cfg
|
|
|
|
t21.cfg
|
|
|
|
ALTER TABLE t1 DISCARD TABLESPACE;
|
|
|
|
ALTER TABLE t1 IMPORT TABLESPACE;
|
|
|
|
SELECT * FROM t1;
|
|
|
|
i
|
|
|
|
1
|
2017-04-18 19:52:03 +00:00
|
|
|
DROP TABLE t1;
|
|
|
|
DROP TABLE t2;
|
2017-09-07 22:53:21 +00:00
|
|
|
DROP TABLE t21;
|