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
22d157e4
Commit
22d157e4
authored
Feb 14, 2007
by
unknown
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
BUG#26352 unused ndb_mgm_rep_command in mgmapi.cpp
ndb/src/mgmapi/mgmapi.cpp: remove ndb_mgm_rep_command function
parent
7fd6bbce
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
37 deletions
+0
-37
ndb/src/mgmapi/mgmapi.cpp
ndb/src/mgmapi/mgmapi.cpp
+0
-37
No files found.
ndb/src/mgmapi/mgmapi.cpp
View file @
22d157e4
...
...
@@ -2187,43 +2187,6 @@ ndb_mgm_alloc_nodeid(NdbMgmHandle handle, unsigned int version, int nodetype,
return
nodeid
;
}
/*****************************************************************************
* Global Replication
******************************************************************************/
extern
"C"
int
ndb_mgm_rep_command
(
NdbMgmHandle
handle
,
unsigned
int
request
,
unsigned
int
*
replication_id
,
struct
ndb_mgm_reply
*
/*reply*/
)
{
SET_ERROR
(
handle
,
NDB_MGM_NO_ERROR
,
"Executing: ndb_mgm_rep_command"
);
const
ParserRow
<
ParserDummy
>
replication_reply
[]
=
{
MGM_CMD
(
"global replication reply"
,
NULL
,
""
),
MGM_ARG
(
"result"
,
String
,
Mandatory
,
"Error message"
),
MGM_ARG
(
"id"
,
Int
,
Optional
,
"Id of global replication"
),
MGM_END
()
};
CHECK_HANDLE
(
handle
,
-
1
);
CHECK_CONNECTED
(
handle
,
-
1
);
Properties
args
;
args
.
put
(
"request"
,
request
);
const
Properties
*
reply
;
reply
=
ndb_mgm_call
(
handle
,
replication_reply
,
"rep"
,
&
args
);
CHECK_REPLY
(
reply
,
-
1
);
const
char
*
result
;
reply
->
get
(
"result"
,
&
result
);
reply
->
get
(
"id"
,
replication_id
);
if
(
strcmp
(
result
,
"Ok"
)
!=
0
)
{
delete
reply
;
return
-
1
;
}
delete
reply
;
return
0
;
}
extern
"C"
int
ndb_mgm_set_int_parameter
(
NdbMgmHandle
handle
,
...
...
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