diff options
author | unknown <joreland@mysql.com> | 2005-06-10 10:22:32 +0200 |
---|---|---|
committer | unknown <joreland@mysql.com> | 2005-06-10 10:22:32 +0200 |
commit | f429d536e3ad4123a42d6c8e21154f633347e640 (patch) | |
tree | 30d1e013777697702bdde2be77b23ac49c94a4d6 /ndb/src/cw/cpcd | |
parent | af0287be3c97eb1a4e42c6dd1b32e47b918139ce (diff) | |
download | mariadb-git-f429d536e3ad4123a42d6c8e21154f633347e640.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/cpcd')
-rw-r--r-- | ndb/src/cw/cpcd/main.cpp | 6 |
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 }, |