summaryrefslogtreecommitdiff
path: root/client/mysqladmin.c
diff options
context:
space:
mode:
authorjani@rhols221.adsl.netsonic.fi <>2002-10-15 23:34:55 +0300
committerjani@rhols221.adsl.netsonic.fi <>2002-10-15 23:34:55 +0300
commit41439377234d7c7f5e44f4a6f82201d8df41088c (patch)
tree6917f9259c42d8c8875bf909cb8360dfb26842e9 /client/mysqladmin.c
parentea0a0c7352d4b1d7d3325c7b11b87ee00c8dd510 (diff)
downloadmariadb-git-41439377234d7c7f5e44f4a6f82201d8df41088c.tar.gz
Fixed some bugs in mysql, mysqladmin and mysqld.
Diffstat (limited to 'client/mysqladmin.c')
-rw-r--r--client/mysqladmin.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/client/mysqladmin.c b/client/mysqladmin.c
index 01e36509c30..00af8c592ec 100644
--- a/client/mysqladmin.c
+++ b/client/mysqladmin.c
@@ -24,7 +24,7 @@
#endif
#include <sys/stat.h>
-#define ADMIN_VERSION "8.37"
+#define ADMIN_VERSION "8.38"
#define MAX_MYSQL_VAR 128
#define SHUTDOWN_DEF_TIMEOUT 3600 /* Wait for shutdown */
#define MAX_TRUNC_LENGTH 3
@@ -163,8 +163,8 @@ static struct my_option my_long_options[] =
"Print output vertically. Is similar to --relative, but prints output vertically.",
(gptr*) &opt_vertical, (gptr*) &opt_vertical, 0, GET_BOOL, NO_ARG, 0, 0, 0,
0, 0, 0},
- {"wait", 'w', "Wait and retry if connection is down", 0, 0, 0, GET_NO_ARG,
- NO_ARG, 0, 0, 0, 0, 0, 0},
+ {"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, "", (gptr*) &opt_connect_timeout,
(gptr*) &opt_connect_timeout, 0, GET_ULONG, REQUIRED_ARG, 3600*12, 0,
3600*12, 0, 1, 0},