Commit 40b622f2 authored by unknown's avatar unknown

BUG#4037 fix printout of limits

parent 5b412028
......@@ -602,7 +602,7 @@ const ConfigInfo::ParamInfo ConfigInfo::m_ParamInfo[] = {
ConfigInfo::INT64,
3000 * 8192,
128 * 8192,
192000 * 8192 },
((Uint64)192000) * ((Uint64)8192) },
{
KEY_INTERNAL,
......@@ -638,7 +638,7 @@ const ConfigInfo::ParamInfo ConfigInfo::m_ParamInfo[] = {
ConfigInfo::INT64,
10000 * 8192,
128 * 8192,
400000 * 8192 },
((Uint64)400000) * ((Uint64)8192) },
{
KEY_INTERNAL,
......@@ -2446,6 +2446,8 @@ void ConfigInfo::print(const Properties * section,
}
ndbout << endl;
break;
case ConfigInfo::SECTION:
break;
}
}
......@@ -2643,6 +2645,8 @@ applyDefaultValues(InitConfigFileParser::Context & ctx,
ctx.m_currentSection->put(name, val);
break;
}
case ConfigInfo::SECTION:
break;
}
}
}
......
......@@ -305,7 +305,7 @@ InitConfigFileParser::storeNameValuePair(Context& ctx,
}
if (!m_info->verify(ctx.m_currentInfo, fname, value_int)) {
ctx.reportError("Illegal value %s for parameter %s.\n"
"Legal values are between %d and %d", value, fname,
"Legal values are between %Lu and %Lu", value, fname,
m_info->getMin(ctx.m_currentInfo, fname),
m_info->getMax(ctx.m_currentInfo, fname));
return false;
......
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