diff options
author | unknown <Dao-Gang.Qu@sun.com> | 2010-02-03 15:49:20 +0800 |
---|---|---|
committer | unknown <Dao-Gang.Qu@sun.com> | 2010-02-03 15:49:20 +0800 |
commit | 6a402e7c7a29ed9de1ad6269a62218e91789f60a (patch) | |
tree | 3cfbd6a1a2eb542e95b37aeb89eb2201ddd4e83e /mysql-test/t/mysqltest.test | |
parent | 235e7b8f1138a29b57bd33f9256ba344ea679f83 (diff) | |
download | mariadb-git-6a402e7c7a29ed9de1ad6269a62218e91789f60a.tar.gz |
Bug #50414 valgrind warnings: invalid file descriptor -1 in syscall
write()/read()
Sometimes stop/restart master or stop/restart salve can cause
network error, which can cause the 'invalid file descriptor
-1 in syscall write()/read()' warnings. All involved test
cases except rpl_slave_load_remove_tmpfile belong to the
kind of network error. So they are expected.
The 'rpl_slave_load_remove_tmpfile' belongs to file error,
but it is testing the file error as following code:
DBUG_EXECUTE_IF("remove_slave_load_file_before_write",
my_close(fd,MYF(0)); fd= -1; my_delete(fname, MYF(0)););
So it's expected too.
To fix the problem, add the valgrind warnings to the global
suppression list to suppress it.
mysql-test/include/mtr_warnings.sql:
Added code to suppress valgrind warnings: invalid file
descriptor -1 in syscall write()/read().
Diffstat (limited to 'mysql-test/t/mysqltest.test')
0 files changed, 0 insertions, 0 deletions