summaryrefslogtreecommitdiff
path: root/sql-bench/innotest1b.sh
diff options
context:
space:
mode:
Diffstat (limited to 'sql-bench/innotest1b.sh')
-rw-r--r--sql-bench/innotest1b.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/sql-bench/innotest1b.sh b/sql-bench/innotest1b.sh
index d83fce00efc..48fe96ebe7d 100644
--- a/sql-bench/innotest1b.sh
+++ b/sql-bench/innotest1b.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 "Innotest1b: MySQL/InnoDB stress test in Perl\n";