summaryrefslogtreecommitdiff
path: root/sql-bench
diff options
context:
space:
mode:
Diffstat (limited to 'sql-bench')
-rw-r--r--sql-bench/run-all-tests.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/sql-bench/run-all-tests.sh b/sql-bench/run-all-tests.sh
index 31d48c837df..c2f687a9375 100644
--- a/sql-bench/run-all-tests.sh
+++ b/sql-bench/run-all-tests.sh
@@ -37,6 +37,7 @@ use DBI;
$opt_silent=1; # Don't write header
+@ORG_ARGV=@ARGV;
chomp($pwd = `pwd`); $pwd = "." if ($pwd eq '');
require "$pwd/bench-init.pl" || die "Can't read Configuration file: $!\n";
$opt_silent=0;
@@ -46,7 +47,7 @@ $redirect= !($machine =~ /windows/i || $machine =~ "^NT\s") ? "2>&1" : "";
$dir= ($pwd =~ /\\/) ? '\\' : '/'; # directory symbol for shell
$prog_args="";
-foreach $arg (@ARGV)
+foreach $arg (@ORG_ARGV)
{
if ($redirect)
{