summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMagnus Svensson <msvensson@mysql.com>2008-08-11 10:41:23 +0200
committerMagnus Svensson <msvensson@mysql.com>2008-08-11 10:41:23 +0200
commit93d835213e1c5bb6bad455ef6a4877a960e638f3 (patch)
tree41ce298a8ac396d8b2e497c987056d1c918a5ff0
parent75b4bdef133cae3665bdb872d89d384a584c0da6 (diff)
downloadmariadb-git-93d835213e1c5bb6bad455ef6a4877a960e638f3.tar.gz
Debug printouts
-rw-r--r--mysql-test/lib/My/Platform.pm4
-rw-r--r--mysql-test/lib/mtr_unique.pm3
2 files changed, 5 insertions, 2 deletions
diff --git a/mysql-test/lib/My/Platform.pm b/mysql-test/lib/My/Platform.pm
index 1db6985771d..cee0c8778fe 100644
--- a/mysql-test/lib/My/Platform.pm
+++ b/mysql-test/lib/My/Platform.pm
@@ -66,7 +66,9 @@ sub mixed_path {
my ($path)= @_;
if (IS_CYGWIN){
return unless defined $path;
- $path= `cygpath -m $path`;
+ my $cmd= "cygpath -m $path";
+ print "$cmd\n";
+ $path= `$cmd`;
chomp $path;
}
return $path;
diff --git a/mysql-test/lib/mtr_unique.pm b/mysql-test/lib/mtr_unique.pm
index 22a23644540..b4093ab1dce 100644
--- a/mysql-test/lib/mtr_unique.pm
+++ b/mysql-test/lib/mtr_unique.pm
@@ -88,7 +88,8 @@ sub mtr_get_unique_id($$) {
msg("taken: $id, $pid");
# Check if process with given pid is alive
if(!process_alive($pid)) {
- msg("Removing slot $id used by missing process $pid");;
+ print "Removing slot $id used by missing process $pid\n";
+ msg("Removing slot $id used by missing process $pid");
delete $taken{$id};
$changed++;
}