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
e8d0f26a
Commit
e8d0f26a
authored
Jul 19, 2004
by
magnus@neptunus.(none)
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
BUG#4511 Made Discless deprecated
parent
7eccfc1b
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
23 additions
and
7 deletions
+23
-7
mysql-test/mysql-test-run.sh
mysql-test/mysql-test-run.sh
+1
-1
mysql-test/ndb/ndb_config_2_node.ini
mysql-test/ndb/ndb_config_2_node.ini
+1
-1
mysql-test/ndb/ndbcluster.sh
mysql-test/ndb/ndbcluster.sh
+4
-4
ndb/src/common/mgmcommon/ConfigInfo.cpp
ndb/src/common/mgmcommon/ConfigInfo.cpp
+17
-1
No files found.
mysql-test/mysql-test-run.sh
View file @
e8d0f26a
...
@@ -1449,7 +1449,7 @@ then
...
@@ -1449,7 +1449,7 @@ then
if
[
-z
"
$USE_RUNNING_NDBCLUSTER
"
]
if
[
-z
"
$USE_RUNNING_NDBCLUSTER
"
]
then
then
echo
"Starting ndbcluster"
echo
"Starting ndbcluster"
./ndb/ndbcluster
--port-base
=
$NDBCLUSTER_PORT
--small
--dis
c
less
--initial
--data-dir
=
$MYSQL_TEST_DIR
/var
||
exit
1
./ndb/ndbcluster
--port-base
=
$NDBCLUSTER_PORT
--small
--dis
k
less
--initial
--data-dir
=
$MYSQL_TEST_DIR
/var
||
exit
1
export
NDB_CONNECTSTRING
=
"host=localhost:
$NDBCLUSTER_PORT
"
export
NDB_CONNECTSTRING
=
"host=localhost:
$NDBCLUSTER_PORT
"
else
else
export
NDB_CONNECTSTRING
=
"
$USE_RUNNING_NDBCLUSTER
"
export
NDB_CONNECTSTRING
=
"
$USE_RUNNING_NDBCLUSTER
"
...
...
mysql-test/ndb/ndb_config_2_node.ini
View file @
e8d0f26a
...
@@ -3,7 +3,7 @@ NoOfReplicas: 2
...
@@ -3,7 +3,7 @@ NoOfReplicas: 2
MaxNoOfConcurrentOperations:
CHOOSE_MaxNoOfConcurrentOperations
MaxNoOfConcurrentOperations:
CHOOSE_MaxNoOfConcurrentOperations
DataMemory:
CHOOSE_DataMemory
DataMemory:
CHOOSE_DataMemory
IndexMemory:
CHOOSE_IndexMemory
IndexMemory:
CHOOSE_IndexMemory
Dis
cless:
CHOOSE_Disc
less
Dis
kless:
CHOOSE_Disk
less
[COMPUTER]
[COMPUTER]
Id:
1
Id:
1
...
...
mysql-test/ndb/ndbcluster.sh
View file @
e8d0f26a
...
@@ -42,7 +42,7 @@ cfgfile=Ndb.cfg
...
@@ -42,7 +42,7 @@ cfgfile=Ndb.cfg
stop_ndb
=
stop_ndb
=
initial_ndb
=
initial_ndb
=
status_ndb
=
status_ndb
=
ndb_dis
c
less
=
0
ndb_dis
k
less
=
0
ndb_con_op
=
100000
ndb_con_op
=
100000
ndb_dmem
=
80M
ndb_dmem
=
80M
...
@@ -65,8 +65,8 @@ while test $# -gt 0; do
...
@@ -65,8 +65,8 @@ while test $# -gt 0; do
ndb_dmem
=
40M
ndb_dmem
=
40M
ndb_imem
=
12M
ndb_imem
=
12M
;;
;;
--dis
c
less
)
--dis
k
less
)
ndb_dis
c
less
=
1
ndb_dis
k
less
=
1
;;
;;
--data-dir
=
*
)
--data-dir
=
*
)
fsdir
=
`
echo
"
$1
"
|
sed
-e
"s;--data-dir=;;"
`
fsdir
=
`
echo
"
$1
"
|
sed
-e
"s;--data-dir=;;"
`
...
@@ -131,7 +131,7 @@ sed \
...
@@ -131,7 +131,7 @@ sed \
-e
s,
"CHOOSE_MaxNoOfConcurrentOperations"
,
$ndb_con_op
,g
\
-e
s,
"CHOOSE_MaxNoOfConcurrentOperations"
,
$ndb_con_op
,g
\
-e
s,
"CHOOSE_DataMemory"
,
$ndb_dmem
,g
\
-e
s,
"CHOOSE_DataMemory"
,
$ndb_dmem
,g
\
-e
s,
"CHOOSE_IndexMemory"
,
$ndb_imem
,g
\
-e
s,
"CHOOSE_IndexMemory"
,
$ndb_imem
,g
\
-e
s,
"CHOOSE_Dis
cless"
,
$ndb_disc
less
,g
\
-e
s,
"CHOOSE_Dis
kless"
,
$ndb_disk
less
,g
\
-e
s,
"CHOOSE_HOSTNAME_"
.
*
,
"
$ndb_host
"
,g
\
-e
s,
"CHOOSE_HOSTNAME_"
.
*
,
"
$ndb_host
"
,g
\
-e
s,
"CHOOSE_FILESYSTEM_NODE_1"
,
"
$fs_name_1
"
,g
\
-e
s,
"CHOOSE_FILESYSTEM_NODE_1"
,
"
$fs_name_1
"
,g
\
-e
s,
"CHOOSE_FILESYSTEM_NODE_2"
,
"
$fs_name_2
"
,g
\
-e
s,
"CHOOSE_FILESYSTEM_NODE_2"
,
"
$fs_name_2
"
,g
\
...
...
ndb/src/common/mgmcommon/ConfigInfo.cpp
View file @
e8d0f26a
...
@@ -177,6 +177,7 @@ const DepricationTransform f_deprication[] = {
...
@@ -177,6 +177,7 @@ const DepricationTransform f_deprication[] = {
,{
"DB"
,
"MemorySpaceTuples"
,
"DataMemory"
,
0
,
8192
}
,{
"DB"
,
"MemorySpaceTuples"
,
"DataMemory"
,
0
,
8192
}
,{
"DB"
,
"TransactionInactiveTimeBeforeAbort"
,
"TransactionInactiveTimeout"
,
,{
"DB"
,
"TransactionInactiveTimeBeforeAbort"
,
"TransactionInactiveTimeout"
,
0
,
1
}
0
,
1
}
,{
"DB"
,
"Discless"
,
"Diskless"
,
0
,
1
}
,{
"TCP"
,
"ProcessId1"
,
"NodeId1"
,
0
,
1
}
,{
"TCP"
,
"ProcessId1"
,
"NodeId1"
,
0
,
1
}
,{
"TCP"
,
"ProcessId2"
,
"NodeId2"
,
0
,
1
}
,{
"TCP"
,
"ProcessId2"
,
"NodeId2"
,
0
,
1
}
,{
"TCP"
,
"SendBufferSize"
,
"SendBufferMemory"
,
0
,
16384
}
,{
"TCP"
,
"SendBufferSize"
,
"SendBufferMemory"
,
0
,
16384
}
...
@@ -930,6 +931,20 @@ const ConfigInfo::ParamInfo ConfigInfo::m_ParamInfo[] = {
...
@@ -930,6 +931,20 @@ const ConfigInfo::ParamInfo ConfigInfo::m_ParamInfo[] = {
0
,
0
,
0
,
0
,
1
},
1
},
{
CFG_DB_DISCLESS
,
"Discless"
,
"DB"
,
"Diskless"
,
ConfigInfo
::
DEPRICATED
,
true
,
ConfigInfo
::
BOOL
,
0
,
0
,
1
},
{
{
CFG_DB_ARBIT_TIMEOUT
,
CFG_DB_ARBIT_TIMEOUT
,
...
@@ -3098,7 +3113,8 @@ transform(InitConfigFileParser::Context & ctx,
...
@@ -3098,7 +3113,8 @@ transform(InitConfigFileParser::Context & ctx,
require
(
ctx
.
m_currentSection
->
getTypeOf
(
oldName
,
&
oldType
));
require
(
ctx
.
m_currentSection
->
getTypeOf
(
oldName
,
&
oldType
));
ConfigInfo
::
Type
newType
=
ctx
.
m_info
->
getType
(
ctx
.
m_currentInfo
,
newName
);
ConfigInfo
::
Type
newType
=
ctx
.
m_info
->
getType
(
ctx
.
m_currentInfo
,
newName
);
if
(
!
((
oldType
==
PropertiesType_Uint32
||
oldType
==
PropertiesType_Uint64
)
if
(
!
((
oldType
==
PropertiesType_Uint32
||
oldType
==
PropertiesType_Uint64
)
&&
(
newType
==
ConfigInfo
::
INT
||
newType
==
ConfigInfo
::
INT64
))){
&&
(
newType
==
ConfigInfo
::
INT
||
newType
==
ConfigInfo
::
INT64
||
newType
==
ConfigInfo
::
BOOL
))){
ndbout
<<
"oldType: "
<<
(
int
)
oldType
<<
", newType: "
<<
(
int
)
newType
<<
endl
;
ctx
.
reportError
(
"Unable to handle type conversion w.r.t deprication %s %s"
ctx
.
reportError
(
"Unable to handle type conversion w.r.t deprication %s %s"
"- [%s] starting at line: %d"
,
"- [%s] starting at line: %d"
,
oldName
,
newName
,
oldName
,
newName
,
...
...
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