diff options
author | Bjorn Munch <Bjorn.Munch@sun.com> | 2010-02-18 09:09:08 +0100 |
---|---|---|
committer | Bjorn Munch <Bjorn.Munch@sun.com> | 2010-02-18 09:09:08 +0100 |
commit | b64d50ae834a91e59ce1d2274738b89587b52d45 (patch) | |
tree | 997e97f445bfd0a4d3c43828ced3e6d20d30963a /mysql-test/mysql-test-run.pl | |
parent | b471134bfe4c07514e5ad94f0648e4660c57cb5a (diff) | |
parent | 65d64449995f847ef6aa48040475e6d894c70e01 (diff) | |
download | mariadb-git-b64d50ae834a91e59ce1d2274738b89587b52d45.tar.gz |
upmerge 51135
Diffstat (limited to 'mysql-test/mysql-test-run.pl')
-rwxr-xr-x | mysql-test/mysql-test-run.pl | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/mysql-test/mysql-test-run.pl b/mysql-test/mysql-test-run.pl index 4db940d4009..0b8dd94685c 100755 --- a/mysql-test/mysql-test-run.pl +++ b/mysql-test/mysql-test-run.pl @@ -220,6 +220,7 @@ my $opt_skip_core; our $opt_check_testcases= 1; my $opt_mark_progress; +my $opt_max_connections; my $opt_sleep; @@ -940,6 +941,7 @@ sub command_line_setup { 'warnings!' => \$opt_warnings, 'timestamp' => \&report_option, 'timediff' => \&report_option, + 'max-connections=i' => \$opt_max_connections, 'help|h' => \$opt_usage, 'list-options' => \$opt_list_options, @@ -4975,6 +4977,10 @@ sub start_mysqltest ($) { mtr_add_arg($args, "--ssl"); } + if ( $opt_max_connections ) { + mtr_add_arg($args, "--max-connections=%d", $opt_max_connections); + } + if ( $opt_embedded_server ) { @@ -5533,6 +5539,7 @@ Misc options timestamp Print timestamp before each test report line timediff With --timestamp, also print time passed since *previous* test started + max-connections=N Max number of open connection to server in mysqltest HERE exit(1); |