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
57d5d6c0
Commit
57d5d6c0
authored
Dec 08, 2004
by
stewart@mysql.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove dead code
parent
c97f6e24
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
26 additions
and
36 deletions
+26
-36
BitKeeper/etc/logging_ok
BitKeeper/etc/logging_ok
+1
-0
ndb/src/ndbapi/TransporterFacade.cpp
ndb/src/ndbapi/TransporterFacade.cpp
+25
-36
No files found.
BitKeeper/etc/logging_ok
View file @
57d5d6c0
...
...
@@ -200,6 +200,7 @@ serg@sergbook.mylan
serg@sergbook.mysql.com
sergefp@mysql.com
sinisa@rhols221.adsl.netsonic.fi
stewart@mysql.com
tfr@beta.frontier86.ee
tfr@indrek.tfr.cafe.ee
tfr@sarvik.tfr.cafe.ee
...
...
ndb/src/ndbapi/TransporterFacade.cpp
View file @
57d5d6c0
...
...
@@ -515,43 +515,32 @@ TransporterFacade::init(Uint32 nodeId, const ndb_mgm_configuration* props)
iter
.
first
();
theClusterMgr
->
init
(
iter
);
/**
* Unless there is a "Name", the initiated transporter is within
* an NDB Cluster. (If "Name" is defined, then the transporter
* is used to connect to a different system, i.e. NDB Cluster.)
*/
#if 0
if (!props->contains("Name")) {
#endif
iter
.
first
();
if
(
iter
.
find
(
CFG_NODE_ID
,
nodeId
)){
TRP_DEBUG
(
"Node info missing from config."
);
return
false
;
}
Uint32
rank
=
0
;
if
(
!
iter
.
get
(
CFG_NODE_ARBIT_RANK
,
&
rank
)
&&
rank
>
0
){
theArbitMgr
=
new
ArbitMgr
(
*
this
);
theArbitMgr
->
setRank
(
rank
);
Uint32
delay
=
0
;
iter
.
get
(
CFG_NODE_ARBIT_DELAY
,
&
delay
);
theArbitMgr
->
setDelay
(
delay
);
}
Uint32
scan_batch_size
=
0
;
if
(
!
iter
.
get
(
CFG_MAX_SCAN_BATCH_SIZE
,
&
scan_batch_size
))
{
m_scan_batch_size
=
scan_batch_size
;
}
Uint32
batch_byte_size
=
0
;
if
(
!
iter
.
get
(
CFG_BATCH_BYTE_SIZE
,
&
batch_byte_size
))
{
m_batch_byte_size
=
batch_byte_size
;
}
Uint32
batch_size
=
0
;
if
(
!
iter
.
get
(
CFG_BATCH_SIZE
,
&
batch_size
))
{
m_batch_size
=
batch_size
;
}
#if 0
iter
.
first
();
if
(
iter
.
find
(
CFG_NODE_ID
,
nodeId
)){
TRP_DEBUG
(
"Node info missing from config."
);
return
false
;
}
Uint32
rank
=
0
;
if
(
!
iter
.
get
(
CFG_NODE_ARBIT_RANK
,
&
rank
)
&&
rank
>
0
){
theArbitMgr
=
new
ArbitMgr
(
*
this
);
theArbitMgr
->
setRank
(
rank
);
Uint32
delay
=
0
;
iter
.
get
(
CFG_NODE_ARBIT_DELAY
,
&
delay
);
theArbitMgr
->
setDelay
(
delay
);
}
Uint32
scan_batch_size
=
0
;
if
(
!
iter
.
get
(
CFG_MAX_SCAN_BATCH_SIZE
,
&
scan_batch_size
))
{
m_scan_batch_size
=
scan_batch_size
;
}
Uint32
batch_byte_size
=
0
;
if
(
!
iter
.
get
(
CFG_BATCH_BYTE_SIZE
,
&
batch_byte_size
))
{
m_batch_byte_size
=
batch_byte_size
;
}
Uint32
batch_size
=
0
;
if
(
!
iter
.
get
(
CFG_BATCH_SIZE
,
&
batch_size
))
{
m_batch_size
=
batch_size
;
}
#endif
if
(
!
theTransporterRegistry
->
start_service
(
m_socket_server
)){
ndbout_c
(
"Unable to start theTransporterRegistry->start_service"
);
...
...
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