summaryrefslogtreecommitdiff
path: root/sql-bench/run-all-tests.sh
diff options
context:
space:
mode:
authorunknown <monty@donna.mysql.fi>2001-03-15 03:55:48 +0200
committerunknown <monty@donna.mysql.fi>2001-03-15 03:55:48 +0200
commit41ed01413fdfcfa8bec77c8ebd1a6850feb04463 (patch)
tree07b5e02de968248c9c9cf63912c2416cb016c45f /sql-bench/run-all-tests.sh
parent68414519cb85f346fc04a169f390a33c46f0b0d0 (diff)
downloadmariadb-git-41ed01413fdfcfa8bec77c8ebd1a6850feb04463.tar.gz
Added fix for using variables with distinct
Docs/manual.texi: Updated links client/mysqltest.c: Added 'ping' method configure.in: Upgraded version number mysql-test/r/user_var.result: Added test for using variables with distinct mysql-test/t/kill.test: Use 'ping' to force reconnect mysql-test/t/user_var.test: Added test for using variables with distinct sql-bench/run-all-tests.sh: Fixed argument passing
Diffstat (limited to 'sql-bench/run-all-tests.sh')
-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)
{