Commit 4817cde4 authored by joreland@mysql.com's avatar joreland@mysql.com

BUG#4037 fix printout of limits

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