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
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
mariadb
Commits
3621ff8c
Commit
3621ff8c
authored
Aug 25, 2004
by
unknown
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Improved STR_VALUE macro
parent
db2343e8
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
10 deletions
+11
-10
ndb/src/common/mgmcommon/ConfigInfo.cpp
ndb/src/common/mgmcommon/ConfigInfo.cpp
+11
-10
No files found.
ndb/src/common/mgmcommon/ConfigInfo.cpp
View file @
3621ff8c
...
@@ -24,7 +24,8 @@
...
@@ -24,7 +24,8 @@
#define KEY_INTERNAL 0
#define KEY_INTERNAL 0
#define MAX_INT_RNIL 0xfffffeff
#define MAX_INT_RNIL 0xfffffeff
#define STR_VALUE(x) #x
#define _STR_VALUE(x) #x
#define STR_VALUE(x) _STR_VALUE(x)
/****************************************************************************
/****************************************************************************
* Section names
* Section names
...
@@ -426,7 +427,7 @@ const ConfigInfo::ParamInfo ConfigInfo::m_ParamInfo[] = {
...
@@ -426,7 +427,7 @@ const ConfigInfo::ParamInfo ConfigInfo::m_ParamInfo[] = {
ConfigInfo
::
INT
,
ConfigInfo
::
INT
,
"128"
,
"128"
,
"0"
,
"0"
,
MAX_INT_RNIL_STRING
},
STR_VALUE
(
MAX_INT_RNIL
)
},
{
{
CFG_DB_NO_UNIQUE_HASH_INDEXES
,
CFG_DB_NO_UNIQUE_HASH_INDEXES
,
...
@@ -438,7 +439,7 @@ const ConfigInfo::ParamInfo ConfigInfo::m_ParamInfo[] = {
...
@@ -438,7 +439,7 @@ const ConfigInfo::ParamInfo ConfigInfo::m_ParamInfo[] = {
ConfigInfo
::
INT
,
ConfigInfo
::
INT
,
"64"
,
"64"
,
"0"
,
"0"
,
MAX_INT_RNIL_STRING
},
STR_VALUE
(
MAX_INT_RNIL
)
},
{
{
CFG_DB_NO_INDEXES
,
CFG_DB_NO_INDEXES
,
...
@@ -570,7 +571,7 @@ const ConfigInfo::ParamInfo ConfigInfo::m_ParamInfo[] = {
...
@@ -570,7 +571,7 @@ const ConfigInfo::ParamInfo ConfigInfo::m_ParamInfo[] = {
ConfigInfo
::
INT
,
ConfigInfo
::
INT
,
"32k"
,
"32k"
,
"32"
,
"32"
,
MAX_INT_RNIL_STRING
},
STR_VALUE
(
MAX_INT_RNIL
)
},
{
{
CFG_DB_NO_LOCAL_OPS
,
CFG_DB_NO_LOCAL_OPS
,
...
@@ -582,7 +583,7 @@ const ConfigInfo::ParamInfo ConfigInfo::m_ParamInfo[] = {
...
@@ -582,7 +583,7 @@ const ConfigInfo::ParamInfo ConfigInfo::m_ParamInfo[] = {
ConfigInfo
::
INT
,
ConfigInfo
::
INT
,
UNDEFINED
,
UNDEFINED
,
"32"
,
"32"
,
MAX_INT_RNIL_STRING
},
STR_VALUE
(
MAX_INT_RNIL
)
},
{
{
CFG_DB_NO_LOCAL_SCANS
,
CFG_DB_NO_LOCAL_SCANS
,
...
@@ -594,7 +595,7 @@ const ConfigInfo::ParamInfo ConfigInfo::m_ParamInfo[] = {
...
@@ -594,7 +595,7 @@ const ConfigInfo::ParamInfo ConfigInfo::m_ParamInfo[] = {
ConfigInfo
::
INT
,
ConfigInfo
::
INT
,
UNDEFINED
,
UNDEFINED
,
"32"
,
"32"
,
MAX_INT_RNIL_STRING
},
STR_VALUE
(
MAX_INT_RNIL
)
},
{
{
CFG_DB_BATCH_SIZE
,
CFG_DB_BATCH_SIZE
,
...
@@ -678,7 +679,7 @@ const ConfigInfo::ParamInfo ConfigInfo::m_ParamInfo[] = {
...
@@ -678,7 +679,7 @@ const ConfigInfo::ParamInfo ConfigInfo::m_ParamInfo[] = {
ConfigInfo
::
INT
,
ConfigInfo
::
INT
,
"2M"
,
"2M"
,
"1M"
,
"1M"
,
MAX_INT_RNIL_STRING
},
STR_VALUE
(
MAX_INT_RNIL
)
},
{
{
CFG_DB_UNDO_DATA_BUFFER
,
CFG_DB_UNDO_DATA_BUFFER
,
...
@@ -690,7 +691,7 @@ const ConfigInfo::ParamInfo ConfigInfo::m_ParamInfo[] = {
...
@@ -690,7 +691,7 @@ const ConfigInfo::ParamInfo ConfigInfo::m_ParamInfo[] = {
ConfigInfo
::
INT
,
ConfigInfo
::
INT
,
"16M"
,
"16M"
,
"1M"
,
"1M"
,
MAX_INT_RNIL_STRING
},
STR_VALUE
(
MAX_INT_RNIL
)
},
{
{
CFG_DB_REDO_BUFFER
,
CFG_DB_REDO_BUFFER
,
...
@@ -702,7 +703,7 @@ const ConfigInfo::ParamInfo ConfigInfo::m_ParamInfo[] = {
...
@@ -702,7 +703,7 @@ const ConfigInfo::ParamInfo ConfigInfo::m_ParamInfo[] = {
ConfigInfo
::
INT
,
ConfigInfo
::
INT
,
"8M"
,
"8M"
,
"1M"
,
"1M"
,
MAX_INT_RNIL_STRING
},
STR_VALUE
(
MAX_INT_RNIL
)
},
{
{
CFG_DB_LONG_SIGNAL_BUFFER
,
CFG_DB_LONG_SIGNAL_BUFFER
,
...
@@ -714,7 +715,7 @@ const ConfigInfo::ParamInfo ConfigInfo::m_ParamInfo[] = {
...
@@ -714,7 +715,7 @@ const ConfigInfo::ParamInfo ConfigInfo::m_ParamInfo[] = {
ConfigInfo
::
INT
,
ConfigInfo
::
INT
,
"1M"
,
"1M"
,
"512k"
,
"512k"
,
MAX_INT_RNIL_STRING
},
STR_VALUE
(
MAX_INT_RNIL
)
},
{
{
CFG_DB_START_PARTIAL_TIMEOUT
,
CFG_DB_START_PARTIAL_TIMEOUT
,
...
...
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