mirror of
https://github.com/MariaDB/server.git
synced 2025-01-16 20:12:31 +01:00
13 lines
500 B
Text
13 lines
500 B
Text
source include/not_windows.inc;
|
|
source include/not_embedded.inc;
|
|
#
|
|
# MDEV-17710 "unknown error" with FLUSH LOGS if log directory is not writeable
|
|
#
|
|
move_file $MYSQLTEST_VARDIR/log/mysqld.1.err $MYSQLTEST_VARDIR/log/mysqld.1.err-bak;
|
|
system chmod u-w $MYSQLTEST_VARDIR/log;
|
|
replace_result $MYSQLTEST_VARDIR MYSQLTEST_VARDIR;
|
|
error ER_CANT_CREATE_FILE;
|
|
flush logs;
|
|
system chmod u+w $MYSQLTEST_VARDIR/log;
|
|
move_file $MYSQLTEST_VARDIR/log/mysqld.1.err-bak $MYSQLTEST_VARDIR/log/mysqld.1.err;
|
|
flush logs;
|