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
d31fbe17
Commit
d31fbe17
authored
Feb 21, 2005
by
joreland@mysql.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
bug#8645 - ndb - ndb_mgmd nodeid handling
(not to be merged as code has changed in 5.0)
parent
ef3607c7
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
4 deletions
+7
-4
ndb/src/mgmapi/LocalConfig.cpp
ndb/src/mgmapi/LocalConfig.cpp
+7
-1
ndb/src/mgmsrv/MgmtSrvr.cpp
ndb/src/mgmsrv/MgmtSrvr.cpp
+0
-3
No files found.
ndb/src/mgmapi/LocalConfig.cpp
View file @
d31fbe17
...
...
@@ -226,7 +226,13 @@ LocalConfig::parseString(const char * connectString, BaseString &err){
return
false
;
}
if
(
!
found_other
)
{
if
(
b_nodeId
&&
!
found_other
)
{
BaseString
tmp
;
tmp
.
assfmt
(
"host=localhost:%s"
,
NDB_PORT
);
if
(
parseHostName
(
tmp
.
c_str
()))
return
true
;
err
.
appfmt
(
"Missing host/file name extry in
\"
%s
\"
"
,
connectString
);
return
false
;
}
...
...
ndb/src/mgmsrv/MgmtSrvr.cpp
View file @
d31fbe17
...
...
@@ -2229,9 +2229,6 @@ MgmtSrvr::alloc_node_id(NodeId * nodeId,
id_found
=
tmp
;
break
;
}
assert
(
no_mgm
>
1
);
assert
(
*
nodeId
!=
0
);
assert
(
type
!=
NDB_MGM_NODE_TYPE_MGM
);
if
(
id_found
)
{
// mgmt server may only have one match
error_string
.
appfmt
(
"Ambiguous node id's %d and %d.
\n
"
"Suggest specifying node id in connectstring,
\n
"
...
...
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