| 1 |
# |
| 2 |
# MDEV-13416 mariabackup fails with EFAULT "Bad Address" |
| 3 |
# |
| 4 |
# restart: --innodb-log-file-size=4M --innodb-encrypt-log=0 |
| 5 |
FOUND 1 /InnoDB: log sequence number 17596481011216/ in mysqld.1.err |
| 6 |
CREATE TABLE t(i INT) ENGINE=INNODB ENCRYPTED=YES; |
| 7 |
INSERT INTO t VALUES(1); |
| 8 |
# xtrabackup backup |
| 9 |
SET GLOBAL innodb_flush_log_at_trx_commit=1; |
| 10 |
INSERT INTO t VALUES(2); |
| 11 |
# xtrabackup prepare |
| 12 |
# shutdown server |
| 13 |
# remove datadir |
| 14 |
# xtrabackup move back |
| 15 |
# restart |
| 16 |
SELECT * FROM t; |
| 17 |
i |
| 18 |
1 |
| 19 |
FLUSH TABLE t FOR EXPORT; |
| 20 |
UNLOCK TABLES; |
| 21 |
ALTER TABLE t DISCARD TABLESPACE; |
| 22 |
ALTER TABLE t IMPORT TABLESPACE; |
| 23 |
FLUSH TABLE t FOR EXPORT; |
| 24 |
UNLOCK TABLES; |
| 25 |
ALTER TABLE t DISCARD TABLESPACE; |
| 26 |
ALTER TABLE t IMPORT TABLESPACE; |
| 27 |
DROP TABLE t; |
| 28 |
# shutdown server |
| 29 |
# remove datadir |
| 30 |
# xtrabackup move back |
| 31 |
# restart |