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
48feb973
Commit
48feb973
authored
Jun 11, 2004
by
unknown
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Made discless a config parameter instead of a env. variable
parent
e914e6c7
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
21 additions
and
5 deletions
+21
-5
ndb/include/mgmapi/mgmapi_config_parameters.h
ndb/include/mgmapi/mgmapi_config_parameters.h
+2
-0
ndb/src/common/mgmcommon/ConfigInfo.cpp
ndb/src/common/mgmcommon/ConfigInfo.cpp
+13
-0
ndb/src/kernel/SimBlockList.cpp
ndb/src/kernel/SimBlockList.cpp
+6
-5
No files found.
ndb/include/mgmapi/mgmapi_config_parameters.h
View file @
48feb973
...
@@ -74,6 +74,8 @@
...
@@ -74,6 +74,8 @@
#define CFG_LOGLEVEL_GREP 146
#define CFG_LOGLEVEL_GREP 146
#define CFG_LOG_DESTINATION 147
#define CFG_LOG_DESTINATION 147
#define CFG_DB_DISCLESS 148
#define CFG_NODE_ARBIT_RANK 200
#define CFG_NODE_ARBIT_RANK 200
#define CFG_NODE_ARBIT_DELAY 201
#define CFG_NODE_ARBIT_DELAY 201
...
...
ndb/src/common/mgmcommon/ConfigInfo.cpp
View file @
48feb973
...
@@ -888,6 +888,19 @@ const ConfigInfo::ParamInfo ConfigInfo::m_ParamInfo[] = {
...
@@ -888,6 +888,19 @@ const ConfigInfo::ParamInfo ConfigInfo::m_ParamInfo[] = {
1
,
1
,
0x7FFFFFFF
},
0x7FFFFFFF
},
{
CFG_DB_DISCLESS
,
"Discless"
,
"DB"
,
"Run wo/ disk"
,
ConfigInfo
::
USED
,
true
,
ConfigInfo
::
BOOL
,
0
,
0
,
1
},
{
{
CFG_DB_ARBIT_TIMEOUT
,
CFG_DB_ARBIT_TIMEOUT
,
"ArbitrationTimeout"
,
"ArbitrationTimeout"
,
...
...
ndb/src/kernel/SimBlockList.cpp
View file @
48feb973
...
@@ -72,11 +72,12 @@ SimBlockList::load(const Configuration & conf){
...
@@ -72,11 +72,12 @@ SimBlockList::load(const Configuration & conf){
SimulatedBlock
*
fs
=
0
;
SimulatedBlock
*
fs
=
0
;
{
{
char
buf
[
100
];
Uint32
dl
;
if
(
NdbEnv_GetEnv
(
"NDB_NOFS"
,
buf
,
100
)
==
0
){
const
ndb_mgm_configuration_iterator
*
p
=
conf
.
getOwnConfigIterator
();
fs
=
new
(
A_VALUE
)
Ndbfs
(
conf
);
if
(
p
&&
!
ndb_mgm_get_int_parameter
(
p
,
CFG_DB_DISCLESS
,
&
dl
)
&&
dl
){
}
else
{
fs
=
new
(
A_VALUE
)
VoidFs
(
conf
);
fs
=
new
(
A_VALUE
)
VoidFs
(
conf
);
}
else
{
fs
=
new
(
A_VALUE
)
Ndbfs
(
conf
);
}
}
}
}
...
...
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