| 1 |
call mtr.add_suppression("InnoDB: New log files created"); |
| 2 |
CREATE TABLE t(i INT PRIMARY KEY) ENGINE ROCKSDB; |
| 3 |
INSERT INTO t VALUES(1); |
| 4 |
# Create full backup , modify table, then create incremental/differential backup |
| 5 |
DROP TABLE t; |
| 6 |
CREATE TABLE t2(i INT PRIMARY KEY) ENGINE ROCKSDB; |
| 7 |
INSERT INTO t2 VALUES(2); |
| 8 |
# Prepare full backup, apply incremental one |
| 9 |
# Restore and check results |
| 10 |
# shutdown server |
| 11 |
# remove datadir |
| 12 |
# xtrabackup move back |
| 13 |
# restart |
| 14 |
SELECT * FROM t2; |
| 15 |
i |
| 16 |
2 |
| 17 |
DROP TABLE t2; |
| 18 |
DROP TABLE t; |
| 19 |
ERROR 42S02: Unknown table 'test.t' |