Commit 426b2ac2 authored by unknown's avatar unknown

fix not to have to set TCP DEFAULT

parent 12e9f010
...@@ -2960,10 +2960,14 @@ fixPortNumber(InitConfigFileParser::Context & ctx, const char * data){ ...@@ -2960,10 +2960,14 @@ fixPortNumber(InitConfigFileParser::Context & ctx, const char * data){
} }
Uint32 base= 0; Uint32 base= 0;
if(!(ctx.m_userDefaults && ctx.m_userDefaults->get("PortNumber", &base)) && if (!ctx.m_userProperties.get("ServerPortBase", &base)){
!ctx.m_systemDefaults->get("PortNumber", &base)){ if(!(ctx.m_userDefaults && ctx.m_userDefaults->get("PortNumber", &base)) &&
ctx.reportError("Cannot retrieve base port number"); !ctx.m_systemDefaults->get("PortNumber", &base)) {
return false; base= NDB_BASE_PORT+2;
// ctx.reportError("Cannot retrieve base port number");
// return false;
}
ctx.m_userProperties.put("ServerPortBase", base);
} }
port= base + adder; port= base + adder;
......
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