diff options
Diffstat (limited to 'sql-bench/innotest1a.sh')
-rw-r--r-- | sql-bench/innotest1a.sh | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sql-bench/innotest1a.sh b/sql-bench/innotest1a.sh index d78357427bc..93f8a2a443b 100644 --- a/sql-bench/innotest1a.sh +++ b/sql-bench/innotest1a.sh @@ -5,12 +5,13 @@ #
############################################################################
+use Cwd; use DBI;
use Benchmark;
$opt_loop_count = 200000;
-chomp($pwd = `pwd`); $pwd = "." if ($pwd eq '');
+$pwd = cwd(); $pwd = "." if ($pwd eq ''); require "$pwd/bench-init.pl" || die "Can't read Configuration file: $!\n";
print "Innotest1a: MySQL/InnoDB stress test in Perl\n";
|