summaryrefslogtreecommitdiff
path: root/ndb/src/cw
diff options
context:
space:
mode:
authorunknown <joreland@mysql.com>2005-06-10 10:22:32 +0200
committerunknown <joreland@mysql.com>2005-06-10 10:22:32 +0200
commitf0f1b1c16e75a04c0efa93520f00942ca30a52d6 (patch)
tree30d1e013777697702bdde2be77b23ac49c94a4d6 /ndb/src/cw
parent55c65fe1d3e1da8550d04d33d4db53ea52d4190b (diff)
downloadmariadb-git-f0f1b1c16e75a04c0efa93520f00942ca30a52d6.tar.gz
ndb - autotest
script fixes for solaris ndb/src/cw/cpcd/main.cpp: fix usage of load_defaults, as it does have a short option ndb/test/run-test/make-config.sh: fix script wrt solaris ndb/test/run-test/ndb-autotest.sh: fix script wrt solaris
Diffstat (limited to 'ndb/src/cw')
-rw-r--r--ndb/src/cw/cpcd/main.cpp6
1 files changed, 1 insertions, 5 deletions
diff --git a/ndb/src/cw/cpcd/main.cpp b/ndb/src/cw/cpcd/main.cpp
index 25632f132e9..ba877095a04 100644
--- a/ndb/src/cw/cpcd/main.cpp
+++ b/ndb/src/cw/cpcd/main.cpp
@@ -32,10 +32,9 @@
#include "common.hpp"
static const char *work_dir = CPCD_DEFAULT_WORK_DIR;
-static int port;
+static int unsigned port;
static int use_syslog;
static const char *logfile = NULL;
-static const char *config_file = CPCD_DEFAULT_CONFIG_FILE;
static const char *user = 0;
static struct my_option my_long_options[] =
@@ -55,9 +54,6 @@ static struct my_option my_long_options[] =
{ "debug", 'D', "Enable debug mode",
(gptr*) &debug, (gptr*) &debug, 0,
GET_BOOL, NO_ARG, 0, 0, 0, 0, 0, 0 },
- { "config", 'c', "Config file",
- (gptr*) &config_file, (gptr*) &config_file, 0,
- GET_STR, REQUIRED_ARG, 0, 0, 0, 0, 0, 0 },
{ "user", 'u', "Run as user",
(gptr*) &user, (gptr*) &user, 0,
GET_STR, REQUIRED_ARG, 0, 0, 0, 0, 0, 0 },