Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
MariaDB
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
MariaDB
Commits
4817cde4
Commit
4817cde4
authored
Jun 07, 2004
by
joreland@mysql.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
BUG#4037 fix printout of limits
parent
37865381
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
3 deletions
+7
-3
ndb/src/common/mgmcommon/ConfigInfo.cpp
ndb/src/common/mgmcommon/ConfigInfo.cpp
+6
-2
ndb/src/common/mgmcommon/InitConfigFileParser.cpp
ndb/src/common/mgmcommon/InitConfigFileParser.cpp
+1
-1
No files found.
ndb/src/common/mgmcommon/ConfigInfo.cpp
View file @
4817cde4
...
...
@@ -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
;
}
}
}
...
...
ndb/src/common/mgmcommon/InitConfigFileParser.cpp
View file @
4817cde4
...
...
@@ -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
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment