fix ndb_mgmd --no-defaults option processing

ndb/src/mgmsrv/main.cpp:
  fix --no-defaults option processing
This commit is contained in:
unknown 2006-01-20 00:06:17 +11:00
parent 48ac5c4a2b
commit 2e60e21d34

View file

@ -196,6 +196,9 @@ int main(int argc, char** argv)
NDB_INIT(argv[0]);
const char *load_default_groups[]= { "mysql_cluster","ndb_mgmd",0 };
load_defaults("my",load_default_groups,&argc,&argv);
int ho_error;
#ifndef DBUG_OFF
opt_debug= "d:t:O,/tmp/ndb_mgmd.trace";
@ -217,9 +220,6 @@ start:
#endif
global_mgmt_server_check = 1;
const char *load_default_groups[]= { "mysql_cluster","ndb_mgmd",0 };
load_defaults("my",load_default_groups,&argc,&argv);
if (opt_interactive ||
opt_non_interactive ||