Commit 2e60e21d authored by unknown's avatar unknown

fix ndb_mgmd --no-defaults option processing


ndb/src/mgmsrv/main.cpp:
  fix --no-defaults option processing
parent 48ac5c4a
...@@ -196,6 +196,9 @@ int main(int argc, char** argv) ...@@ -196,6 +196,9 @@ int main(int argc, char** argv)
NDB_INIT(argv[0]); 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; int ho_error;
#ifndef DBUG_OFF #ifndef DBUG_OFF
opt_debug= "d:t:O,/tmp/ndb_mgmd.trace"; opt_debug= "d:t:O,/tmp/ndb_mgmd.trace";
...@@ -217,9 +220,6 @@ int main(int argc, char** argv) ...@@ -217,9 +220,6 @@ int main(int argc, char** argv)
#endif #endif
global_mgmt_server_check = 1; 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 || if (opt_interactive ||
opt_non_interactive || opt_non_interactive ||
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment