summaryrefslogtreecommitdiff
path: root/mysql-test/mysql-test-run.pl
diff options
context:
space:
mode:
authorunknown <guilhem@mysql.com>2005-09-27 16:55:23 +0200
committerunknown <guilhem@mysql.com>2005-09-27 16:55:23 +0200
commit8d9791b58a29382cd51158c75add840b0a77c1ff (patch)
tree5abf839d48eaba79b98e0331c6cd38f2686627df /mysql-test/mysql-test-run.pl
parenta51f367f88e9fa5cbc2953a37ca3bdcf46842a61 (diff)
downloadmariadb-git-8d9791b58a29382cd51158c75add840b0a77c1ff.tar.gz
Fix for BUG#13527 "mysql-test-run.pl truncates var/log/*.err several times during one testsuit run"
mysql-test/mysql-test-run.pl: .err files of the mysqld servers should be appended to, not reset every time we restart the mysqlds during the testsuite.
Diffstat (limited to 'mysql-test/mysql-test-run.pl')
-rwxr-xr-xmysql-test/mysql-test-run.pl6
1 files changed, 4 insertions, 2 deletions
diff --git a/mysql-test/mysql-test-run.pl b/mysql-test/mysql-test-run.pl
index 2dda1b2a6e1..47c0e8f4e41 100755
--- a/mysql-test/mysql-test-run.pl
+++ b/mysql-test/mysql-test-run.pl
@@ -2137,7 +2137,8 @@ sub mysqld_start ($$$$) {
{
if ( $pid= mtr_spawn($exe, $args, "",
$master->[$idx]->{'path_myerr'},
- $master->[$idx]->{'path_myerr'}, "") )
+ $master->[$idx]->{'path_myerr'}, "",
+ { append_log_file => 1 }) )
{
return sleep_until_file_created($master->[$idx]->{'path_mypid'},
$master->[$idx]->{'start_timeout'}, $pid);
@@ -2148,7 +2149,8 @@ sub mysqld_start ($$$$) {
{
if ( $pid= mtr_spawn($exe, $args, "",
$slave->[$idx]->{'path_myerr'},
- $slave->[$idx]->{'path_myerr'}, "") )
+ $slave->[$idx]->{'path_myerr'}, "",
+ { append_log_file => 1 }) )
{
return sleep_until_file_created($slave->[$idx]->{'path_mypid'},
$master->[$idx]->{'start_timeout'}, $pid);