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
b5368c1b
Commit
b5368c1b
authored
Jan 10, 2008
by
gni@dev3-221.dev.cn.tlan
Browse files
Options
Browse Files
Download
Plain Diff
Merge gni@bk-internal.mysql.com:/home/bk/mysql-5.0-ndb-bj
into dev3-221.dev.cn.tlan:/home/ngb/mysql/mysql-5.0/bug28298
parents
9ca2177b
60a18580
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
17 additions
and
6 deletions
+17
-6
ndb/include/kernel/ndb_limits.h
ndb/include/kernel/ndb_limits.h
+11
-0
ndb/src/mgmsrv/ConfigInfo.cpp
ndb/src/mgmsrv/ConfigInfo.cpp
+6
-6
No files found.
ndb/include/kernel/ndb_limits.h
View file @
b5368c1b
...
@@ -27,6 +27,17 @@
...
@@ -27,6 +27,17 @@
#define MAX_NDB_NODES 49
#define MAX_NDB_NODES 49
#define MAX_NODES 64
#define MAX_NODES 64
/**************************************************************************
* IT SHOULD BE (MAX_NDB_NODES - 1).
* WHEN MAX_NDB_NODE IS CHANGED, IT SHOULD BE CHANGED ALSO
**************************************************************************/
#define MAX_DATA_NODE_ID 48
/**************************************************************************
* IT SHOULD BE (MAX_NODES - 1).
* WHEN MAX_NODES IS CHANGED, IT SHOULD BE CHANGED ALSO
**************************************************************************/
#define MAX_NODES_ID 63
/**
/**
* MAX_API_NODES = MAX_NODES - No of NDB Nodes in use
* MAX_API_NODES = MAX_NODES - No of NDB Nodes in use
*/
*/
...
...
ndb/src/mgmsrv/ConfigInfo.cpp
View file @
b5368c1b
...
@@ -398,7 +398,7 @@ const ConfigInfo::ParamInfo ConfigInfo::m_ParamInfo[] = {
...
@@ -398,7 +398,7 @@ const ConfigInfo::ParamInfo ConfigInfo::m_ParamInfo[] = {
ConfigInfo
::
CI_INT
,
ConfigInfo
::
CI_INT
,
MANDATORY
,
MANDATORY
,
"1"
,
"1"
,
STR_VALUE
(
MAX_
NODES
)
},
STR_VALUE
(
MAX_
DATA_NODE_ID
)
},
{
{
CFG_NODE_ID
,
CFG_NODE_ID
,
...
@@ -410,7 +410,7 @@ const ConfigInfo::ParamInfo ConfigInfo::m_ParamInfo[] = {
...
@@ -410,7 +410,7 @@ const ConfigInfo::ParamInfo ConfigInfo::m_ParamInfo[] = {
ConfigInfo
::
CI_INT
,
ConfigInfo
::
CI_INT
,
MANDATORY
,
MANDATORY
,
"1"
,
"1"
,
STR_VALUE
(
MAX_
NODES
)
},
STR_VALUE
(
MAX_
DATA_NODE_ID
)
},
{
{
KEY_INTERNAL
,
KEY_INTERNAL
,
...
@@ -1261,7 +1261,7 @@ const ConfigInfo::ParamInfo ConfigInfo::m_ParamInfo[] = {
...
@@ -1261,7 +1261,7 @@ const ConfigInfo::ParamInfo ConfigInfo::m_ParamInfo[] = {
ConfigInfo
::
CI_INT
,
ConfigInfo
::
CI_INT
,
MANDATORY
,
MANDATORY
,
"1"
,
"1"
,
STR_VALUE
(
MAX_NODES
)
},
STR_VALUE
(
MAX_NODES
_ID
)
},
{
{
CFG_NODE_ID
,
CFG_NODE_ID
,
...
@@ -1273,7 +1273,7 @@ const ConfigInfo::ParamInfo ConfigInfo::m_ParamInfo[] = {
...
@@ -1273,7 +1273,7 @@ const ConfigInfo::ParamInfo ConfigInfo::m_ParamInfo[] = {
ConfigInfo
::
CI_INT
,
ConfigInfo
::
CI_INT
,
MANDATORY
,
MANDATORY
,
"1"
,
"1"
,
STR_VALUE
(
MAX_NODES
)
},
STR_VALUE
(
MAX_NODES
_ID
)
},
{
{
KEY_INTERNAL
,
KEY_INTERNAL
,
...
@@ -1404,7 +1404,7 @@ const ConfigInfo::ParamInfo ConfigInfo::m_ParamInfo[] = {
...
@@ -1404,7 +1404,7 @@ const ConfigInfo::ParamInfo ConfigInfo::m_ParamInfo[] = {
ConfigInfo
::
CI_INT
,
ConfigInfo
::
CI_INT
,
MANDATORY
,
MANDATORY
,
"1"
,
"1"
,
STR_VALUE
(
MAX_NODES
)
},
STR_VALUE
(
MAX_NODES
_ID
)
},
{
{
CFG_NODE_ID
,
CFG_NODE_ID
,
...
@@ -1416,7 +1416,7 @@ const ConfigInfo::ParamInfo ConfigInfo::m_ParamInfo[] = {
...
@@ -1416,7 +1416,7 @@ const ConfigInfo::ParamInfo ConfigInfo::m_ParamInfo[] = {
ConfigInfo
::
CI_INT
,
ConfigInfo
::
CI_INT
,
MANDATORY
,
MANDATORY
,
"1"
,
"1"
,
STR_VALUE
(
MAX_NODES
)
},
STR_VALUE
(
MAX_NODES
_ID
)
},
{
{
CFG_LOG_DESTINATION
,
CFG_LOG_DESTINATION
,
...
...
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