mirror of
https://github.com/MariaDB/server.git
synced 2025-01-16 20:12:31 +01:00
b5615eff0d
Idea comes from MySQL which does something similar
19 lines
420 B
Text
19 lines
420 B
Text
#
|
|
# MDEV-13416 mariabackup fails with EFAULT "Bad Address"
|
|
#
|
|
# restart
|
|
FOUND 1 /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
|
|
SELECT * FROM t;
|
|
i
|
|
1
|
|
DROP TABLE t;
|