mirror of
https://github.com/MariaDB/server.git
synced 2025-01-31 11:01:52 +01:00
e80183dbd5
- Problem is that test case creates iblogfile* files. So existing ibdata pages could point to future LSN. Fix is that taking the backup of data before iblogfile* creation and apply it before exiting the test case.
23 lines
549 B
Text
23 lines
549 B
Text
#
|
|
# MDEV-13416 mariabackup fails with EFAULT "Bad Address"
|
|
#
|
|
call mtr.add_suppression("InnoDB: New log files created");
|
|
FOUND /InnoDB: New log files created, LSN=175964\d{8}/ in mysqld.1.err
|
|
CREATE TABLE t(i INT) ENGINE INNODB;
|
|
INSERT INTO t VALUES(1);
|
|
# xtrabackup backup
|
|
SET GLOBAL innodb_flush_log_at_trx_commit=1;
|
|
INSERT INTO t VALUES(2);
|
|
# xtrabackup prepare
|
|
# shutdown server
|
|
# remove datadir
|
|
# xtrabackup move back
|
|
# restart server
|
|
SELECT * FROM t;
|
|
i
|
|
1
|
|
DROP TABLE t;
|
|
# shutdown server
|
|
# remove datadir
|
|
# xtrabackup move back
|
|
# restart server
|