mirror of
https://github.com/MariaDB/server.git
synced 2025-01-30 10:31:54 +01:00
b5615eff0d
Idea comes from MySQL which does something similar
19 lines
534 B
Text
19 lines
534 B
Text
call mtr.add_suppression("InnoDB: New log files created");
|
|
CREATE TABLE t(i INT PRIMARY KEY) ENGINE ROCKSDB;
|
|
INSERT INTO t VALUES(1);
|
|
# Create full backup , modify table, then create incremental/differential backup
|
|
DROP TABLE t;
|
|
CREATE TABLE t2(i INT PRIMARY KEY) ENGINE ROCKSDB;
|
|
INSERT INTO t2 VALUES(2);
|
|
# Prepare full backup, apply incremental one
|
|
# Restore and check results
|
|
# shutdown server
|
|
# remove datadir
|
|
# xtrabackup move back
|
|
# restart
|
|
SELECT * FROM t2;
|
|
i
|
|
2
|
|
DROP TABLE t2;
|
|
DROP TABLE t;
|
|
ERROR 42S02: Unknown table 'test.t'
|