MOON
Server: Apache/2.2.21 (Unix) mod_ssl/2.2.21 OpenSSL/0.9.8e-fips-rhel5 mod_auth_passthrough/2.1 mod_bwlimited/1.4
System: Linux vps.panamaemb.org.sg 3.10.0-1160.80.1.vz7.191.4 #1 SMP Thu Dec 15 20:31:06 MSK 2022 x86_64
User: panama (500)
PHP: 5.2.17
Disabled: NONE
Upload Files
File: //proc/3/cwd/usr/share/mysql-test/t/bug17076131.test
--echo #
--echo # Bug#17076131 MYSQLDUMP FAILS WHEN ERR LOG ON RUNNING SERVER IS
--echo #              DELETED ON WINDOWS
--echo #

--source include/not_embedded.inc

--echo # Creating file aliases.
let $dump_with_err_log=$MYSQLTEST_VARDIR/tmp/bug17076131_with_err_log.sql;
let $dump_without_err_log=$MYSQLTEST_VARDIR/tmp/bug17076131_without_err_log.sql;

--echo # Executing mysqldump normally.
--exec $MYSQL_DUMP --extended-insert --flush-logs --add-drop-database --add-drop-table  --force --databases --skip-dump-date mysql  > $dump_with_err_log

--echo # Removing Error_log file.
--remove_file $MYSQLTEST_VARDIR/tmp/mysql.err

--echo # Executing mysqldump after deleting error_log file.
--exec $MYSQL_DUMP --extended-insert --flush-logs --add-drop-database --add-drop-table  --force --databases --skip-dump-date mysql  > $dump_without_err_log

--echo # Checking diff of the 2 dumps.
--diff_files $dump_with_err_log $dump_without_err_log
--echo # No Difference found.

--echo # Clean Up.
--remove_file $dump_with_err_log
--remove_file $dump_without_err_log
--echo # End of Test.