mirror of
https://github.com/MariaDB/server.git
synced 2025-01-16 12:02:42 +01:00
ecc93c9824
Normalize innodb_flush_method, the same as the service, before attempting to print it.
24 lines
653 B
Text
24 lines
653 B
Text
--source include/windows.inc
|
|
|
|
let $targetdir=$MYSQLTEST_VARDIR/tmp/backup;
|
|
|
|
--echo #
|
|
--echo # MDEV-30492 Crash when use mariabackup.exe with config 'innodb_flush_method=async_unbuffered'
|
|
--echo #
|
|
|
|
echo # xtrabackup backup;
|
|
--disable_result_log
|
|
exec $XTRABACKUP --defaults-file=$MYSQLTEST_VARDIR/my.cnf --innodb_flush_method=normal --backup --target-dir=$targetdir;
|
|
--enable_result_log
|
|
|
|
echo # xtrabackup prepare;
|
|
--disable_result_log
|
|
exec $XTRABACKUP --prepare --innodb-flush-method=async_unbuffered --target-dir=$targetdir;
|
|
-- source include/restart_and_restore.inc
|
|
--enable_result_log
|
|
|
|
rmdir $targetdir;
|
|
|
|
--echo #
|
|
--echo # End of 10.4 tests
|
|
--echo #
|