summaryrefslogtreecommitdiff
path: root/mysql-test
diff options
context:
space:
mode:
authorunknown <msvensson@pilot.(none)>2007-05-29 13:02:20 +0200
committerunknown <msvensson@pilot.(none)>2007-05-29 13:02:20 +0200
commit288a7fc0c9f145f1d27c0b2bd101f61c54c1d4c1 (patch)
tree3ccc9c41ae8c82fedf5ebc9b379d43e935956f48 /mysql-test
parentb555053d2192fab6a30d97d775167adb3ebc1302 (diff)
parent4507f7ed4cd57979e363041206b08963fcb74096 (diff)
downloadmariadb-git-288a7fc0c9f145f1d27c0b2bd101f61c54c1d4c1.tar.gz
Merge pilot.(none):/data/msvensson/mysql/mysql-5.0-maint
into pilot.(none):/data/msvensson/mysql/mysql-5.1-new-maint mysql-test/mysql-test-run.pl: Auto merged
Diffstat (limited to 'mysql-test')
-rwxr-xr-xmysql-test/mysql-test-run.pl6
1 files changed, 6 insertions, 0 deletions
diff --git a/mysql-test/mysql-test-run.pl b/mysql-test/mysql-test-run.pl
index 5174a1658ff..002f4da2dcd 100755
--- a/mysql-test/mysql-test-run.pl
+++ b/mysql-test/mysql-test-run.pl
@@ -3658,6 +3658,9 @@ sub do_before_start_master ($) {
# FIXME what about second master.....
+ # Don't delete anything if starting dirty
+ return if ($opt_start_dirty);
+
foreach my $bin ( glob("$opt_vardir/log/master*-bin*") )
{
unlink($bin);
@@ -3680,6 +3683,9 @@ sub do_before_start_slave ($) {
my $tname= $tinfo->{'name'};
my $init_script= $tinfo->{'master_sh'};
+ # Don't delete anything if starting dirty
+ return if ($opt_start_dirty);
+
foreach my $bin ( glob("$opt_vardir/log/slave*-bin*") )
{
unlink($bin);