1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-29 05:21:33 +03:00

BUG#43264 Test rpl_trigger is failing randomly w/ use of copy_file in 5.0

The test case fails sporadically on Windows while trying to overwrite an unused
binary log. The problem stems from the fact that MySQL on Windows does not
immediately unlock/release a file while the process that opened and closed it is
still running. In BUG 38603, this issue was circumvented by stopping the MySQL
process, copying the file and then restarting the MySQL process. 

Unfortunately, such facilities are not available in the 5.0.  Other approaches
such as stopping the slave and issuing change master do not work because the relay
log file and index are not closed when a slave is stopped. So to fix the problem,
we simply don't run on windows the part of the test that was failing.
This commit is contained in:
Alfranio Correia
2009-08-02 23:58:43 +01:00
parent dbe855d0e3
commit 968ec5eacc
5 changed files with 997 additions and 43 deletions

View File

@ -0,0 +1,8 @@
#
# Test of triggers with replication
#
source include/master-slave.inc;
source include/windows.inc;
source t/rpl_trigger.inc;