summaryrefslogtreecommitdiff
path: root/mysql-test/mysql-test-run.pl
diff options
context:
space:
mode:
authorGeorgi Kodinov <joro@sun.com>2009-03-09 12:52:08 +0200
committerGeorgi Kodinov <joro@sun.com>2009-03-09 12:52:08 +0200
commitfac9dee4748149fe4f9cd6b299d056abca1a6aa8 (patch)
treefc13e3fc31c1ad0d19e7ec9c147d743aab6cfeeb /mysql-test/mysql-test-run.pl
parent9540d3017e8dde3e6a741f1ff5838c5af786c747 (diff)
parent774a894fe18830749d401ad4a2a96925ee951fbf (diff)
downloadmariadb-git-fac9dee4748149fe4f9cd6b299d056abca1a6aa8.tar.gz
merged 5.1-main -> 5.1-pe-stage
Diffstat (limited to 'mysql-test/mysql-test-run.pl')
-rwxr-xr-xmysql-test/mysql-test-run.pl4
1 files changed, 2 insertions, 2 deletions
diff --git a/mysql-test/mysql-test-run.pl b/mysql-test/mysql-test-run.pl
index b0b044b67f4..b07d1539844 100755
--- a/mysql-test/mysql-test-run.pl
+++ b/mysql-test/mysql-test-run.pl
@@ -110,8 +110,8 @@ my $opt_tmpdir; # Path to use for tmp/ dir
my $opt_tmpdir_pid;
END {
- if (defined $opt_tmpdir_pid and
- $opt_tmpdir_pid == $$){
+ if ( defined $opt_tmpdir_pid and $opt_tmpdir_pid == $$ )
+ {
# Remove the tempdir this process has created
mtr_verbose("Removing tmpdir '$opt_tmpdir");
rmtree($opt_tmpdir);