summaryrefslogtreecommitdiff
path: root/sql-bench/test-big-tables.sh
diff options
context:
space:
mode:
Diffstat (limited to 'sql-bench/test-big-tables.sh')
-rw-r--r--sql-bench/test-big-tables.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/sql-bench/test-big-tables.sh b/sql-bench/test-big-tables.sh
index 151a169d31f..fb58247eddd 100644
--- a/sql-bench/test-big-tables.sh
+++ b/sql-bench/test-big-tables.sh
@@ -21,13 +21,14 @@
##################### Standard benchmark inits ##############################
+use Cwd;
use DBI;
use Benchmark;
$opt_loop_count=1000; # Change this to make test harder/easier
$opt_field_count=1000;
-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";
$opt_field_count=min($opt_field_count,$limits->{'max_columns'},