Details
-
Task
-
Status: Closed (View Workflow)
-
Major
-
Resolution: Won't Fix
-
None
Description
We have this patch currently in our tree. I am not sure about submitting it upstream as is but I thought I would file a bug report.
Default value for connect timeout is rejected by the kernel. |
 |
Index: client/mysqladmin.cc
|
--- client/mysqladmin.cc.orig
|
+++ client/mysqladmin.cc
|
@@ -215,7 +215,7 @@ static struct my_option my_long_options[] = |
{"wait", 'w', "Wait and retry if connection is down.", 0, 0, 0, GET_UINT, |
OPT_ARG, 0, 0, 0, 0, 0, 0}, |
{"connect_timeout", OPT_CONNECT_TIMEOUT, "", &opt_connect_timeout, |
- &opt_connect_timeout, 0, GET_ULONG, REQUIRED_ARG, 3600*12, 0, |
+ &opt_connect_timeout, 0, GET_ULONG, REQUIRED_ARG, 0, 0, |
3600*12, 0, 1, 0}, |
{"shutdown_timeout", OPT_SHUTDOWN_TIMEOUT, "", &opt_shutdown_timeout, |
&opt_shutdown_timeout, 0, GET_ULONG, REQUIRED_ARG, |