summaryrefslogtreecommitdiff
path: root/sql-bench/bench-init.pl.sh
diff options
context:
space:
mode:
authorunknown <sasha@mysql.sashanet.com>2001-04-13 12:51:27 -0600
committerunknown <sasha@mysql.sashanet.com>2001-04-13 12:51:27 -0600
commitb33245671d571726eb7c02ad2de47a16ae095b15 (patch)
tree9f669bb1f8f9d657b076ba6fe72cbf581a5877ce /sql-bench/bench-init.pl.sh
parenta70f0c69f593a6bbf7b6b02e25988f509e8f058c (diff)
downloadmariadb-git-b33245671d571726eb7c02ad2de47a16ae095b15.tar.gz
mysql-test/mysql-test-run.sh
added --bench option sql-bench/Makefile.am added bench-count-distinct.sh test sql-bench/bench-init.pl.sh added --socket option mysql-test/mysql-test-run.sh: added --bench option sql-bench/Makefile.am: added bench-count-distinct.sh test sql-bench/bench-init.pl.sh: added --socket option sql-bench/server-cfg.sh: --socket BitKeeper/etc/ignore: Added sql-bench/bench-count-distinct to the ignore list
Diffstat (limited to 'sql-bench/bench-init.pl.sh')
-rw-r--r--sql-bench/bench-init.pl.sh9
1 files changed, 7 insertions, 2 deletions
diff --git a/sql-bench/bench-init.pl.sh b/sql-bench/bench-init.pl.sh
index c316bae1e4d..a30e9b3d9c9 100644
--- a/sql-bench/bench-init.pl.sh
+++ b/sql-bench/bench-init.pl.sh
@@ -51,11 +51,12 @@ $log_prog_args=join(" ", skip_arguments(\@ARGV,"comments","cmp","server",
"user", "host", "database", "password",
"use-old-results","skip-test",
"machine", "dir", "suffix", "log"));
-GetOptions("skip-test=s","comments=s","cmp=s","server=s","user=s","host=s","database=s","password=s","loop-count=i","row-count=i","skip-create","skip-delete","verbose","fast-insert","lock-tables","debug","fast","force","field-count=i","regions=i","groups=i","time-limit=i","log","use-old-results","machine=s","dir=s","suffix=s","help","odbc","small-test","small-tables","small-key-tables","stage=i","old-headers","die-on-errors","create-options=s","hires","tcpip","silent") || usage();
+GetOptions("skip-test=s","comments=s","cmp=s","server=s","user=s","host=s","database=s","password=s","loop-count=i","row-count=i","skip-create","skip-delete","verbose","fast-insert","lock-tables","debug","fast","force","field-count=i","regions=i","groups=i","time-limit=i","log","use-old-results","machine=s","dir=s","suffix=s","help","odbc","small-test","small-tables","small-key-tables","stage=i","old-headers","die-on-errors","create-options=s","hires","tcpip","silent",
+"socket=s") || usage();
usage() if ($opt_help);
$server=get_server($opt_server,$opt_host,$opt_database,$opt_odbc,
- machine_part());
+ machine_part(), $opt_socket);
$limits=merge_limits($server,$opt_cmp);
$date=date();
@estimated=(0.0,0.0,0.0); # For estimated time support
@@ -486,6 +487,10 @@ All benchmarks takes the following options:
--password='password'
Password for the current user.
+--socket='socket'
+ If the database supports connecting through a Unix socket,
+ use this socket to connect
+
--regions
This is a test specific option that is only used when debugging a test.
This usually means how AND levels should be tested.