Commit 40eec6c5 authored by Staale Smedseng's avatar Staale Smedseng

Bug #41580 opt_threads option is not used anywhere at all

Option opt_threads is deprecated in 5.1, and a warning is
printed when used. Will remove in 6.0.
parent a07a7afe
...@@ -47,7 +47,7 @@ $opt_machine=""; $opt_suffix=""; ...@@ -47,7 +47,7 @@ $opt_machine=""; $opt_suffix="";
$opt_create_options=undef; $opt_create_options=undef;
$opt_optimization="None"; $opt_optimization="None";
$opt_hw=""; $opt_hw="";
$opt_threads=5; $opt_threads=-1;
if (!defined($opt_time_limit)) if (!defined($opt_time_limit))
{ {
...@@ -68,6 +68,11 @@ $limits=merge_limits($server,$opt_cmp); ...@@ -68,6 +68,11 @@ $limits=merge_limits($server,$opt_cmp);
$date=date(); $date=date();
@estimated=(0.0,0.0,0.0); # For estimated time support @estimated=(0.0,0.0,0.0); # For estimated time support
if ($opt_threads != -1)
{
print "WARNING: Option --threads is deprecated and has no effect\n"
}
if ($opt_hires) if ($opt_hires)
{ {
eval "use Time::HiRes;"; eval "use Time::HiRes;";
...@@ -560,8 +565,8 @@ All benchmarks takes the following options: ...@@ -560,8 +565,8 @@ All benchmarks takes the following options:
Inform test suite that we are generate random inital values for sequence of Inform test suite that we are generate random inital values for sequence of
test executions. It should be used for imitation of real conditions. test executions. It should be used for imitation of real conditions.
--threads=# (Default 5) --threads=# **DEPRECATED**
Number of threads for multi-user benchmarks. This option has no effect, and will be removed in a future version.
--tcpip --tcpip
Inform test suite that we are using TCP/IP to connect to the server. In Inform test suite that we are using TCP/IP to connect to the server. In
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment