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
34c5892c
Commit
34c5892c
authored
Mar 03, 2005
by
tomas@poseidon.ndb.mysql.com
Browse files
Options
Browse Files
Download
Plain Diff
Merge tulin@bk-internal.mysql.com:/home/bk/mysql-5.0-ndb
into poseidon.ndb.mysql.com:/home/tomas/mysql-5.0-ndb
parents
04cd65b9
59f32b3d
Changes
7
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
81 additions
and
48 deletions
+81
-48
ndb/include/mgmapi/mgmapi.h
ndb/include/mgmapi/mgmapi.h
+0
-11
ndb/include/mgmapi/mgmapi_debug.h
ndb/include/mgmapi/mgmapi_debug.h
+0
-36
ndb/src/common/transporter/Makefile.am
ndb/src/common/transporter/Makefile.am
+1
-1
ndb/src/common/transporter/TransporterRegistry.cpp
ndb/src/common/transporter/TransporterRegistry.cpp
+1
-0
ndb/src/mgmapi/mgmapi.cpp
ndb/src/mgmapi/mgmapi.cpp
+1
-0
ndb/src/mgmapi/mgmapi_internal.h
ndb/src/mgmapi/mgmapi_internal.h
+77
-0
ndb/src/ndbapi/ndb_cluster_connection.cpp
ndb/src/ndbapi/ndb_cluster_connection.cpp
+1
-0
No files found.
ndb/include/mgmapi/mgmapi.h
View file @
34c5892c
...
...
@@ -140,7 +140,6 @@
*/
#include <ndb_types.h>
#include <NdbTCP.h>
#include "ndb_logevent.h"
#include "mgmapi_config_parameters.h"
...
...
@@ -986,16 +985,6 @@ extern "C" {
unsigned
version
,
int
nodetype
);
/**
* Convert connection to transporter
* @param handle NDB management handle.
*
* @return socket
*
* @note the socket is now able to be used as a transporter connection
*/
NDB_SOCKET_TYPE
ndb_mgm_convert_to_transporter
(
NdbMgmHandle
*
handle
);
/**
* Get the node id of the mgm server we're connected to
*/
...
...
ndb/include/mgmapi/mgmapi_debug.h
View file @
34c5892c
...
...
@@ -132,42 +132,6 @@ extern "C" {
const
char
*
value
,
struct
ndb_mgm_reply
*
reply
);
/**
* Set an integer parameter for a connection
*
* @param handle the NDB management handle.
* @param node1 the node1 id
* @param node2 the node2 id
* @param param the parameter (e.g. CFG_CONNECTION_SERVER_PORT)
* @param value what to set it to
* @param reply from ndb_mgmd
*/
int
ndb_mgm_set_connection_int_parameter
(
NdbMgmHandle
handle
,
int
node1
,
int
node2
,
int
param
,
int
value
,
struct
ndb_mgm_reply
*
reply
);
/**
* Get an integer parameter for a connection
*
* @param handle the NDB management handle.
* @param node1 the node1 id
* @param node2 the node2 id
* @param param the parameter (e.g. CFG_CONNECTION_SERVER_PORT)
* @param value where to store the retreived value. In the case of
* error, value is not changed.
* @param reply from ndb_mgmd
* @return 0 on success. < 0 on error.
*/
int
ndb_mgm_get_connection_int_parameter
(
NdbMgmHandle
handle
,
int
node1
,
int
node2
,
int
param
,
int
*
value
,
struct
ndb_mgm_reply
*
reply
);
#ifdef __cplusplus
}
#endif
...
...
ndb/src/common/transporter/Makefile.am
View file @
34c5892c
...
...
@@ -13,7 +13,7 @@ EXTRA_libtransporter_la_SOURCES = SHM_Transporter.cpp SHM_Transporter.unix.cpp S
libtransporter_la_LIBADD
=
@ndb_transporter_opt_objs@
libtransporter_la_DEPENDENCIES
=
@ndb_transporter_opt_objs@
INCLUDES_LOC
=
-I
$(top_srcdir)
/ndb/include/mgmapi
-I
$(top_srcdir)
/ndb/include/debugger
-I
$(top_srcdir)
/ndb/include/kernel
-I
$(top_srcdir)
/ndb/include/transporter @NDB_SCI_INCLUDES@
INCLUDES_LOC
=
-I
$(top_srcdir)
/ndb/include/mgmapi
-I
$(top_srcdir)
/ndb/src/mgmapi
-I
$(top_srcdir)
/ndb/include/debugger
-I
$(top_srcdir)
/ndb/include/kernel
-I
$(top_srcdir)
/ndb/include/transporter @NDB_SCI_INCLUDES@
include
$(top_srcdir)/ndb/config/common.mk.am
include
$(top_srcdir)/ndb/config/type_util.mk.am
...
...
ndb/src/common/transporter/TransporterRegistry.cpp
View file @
34c5892c
...
...
@@ -49,6 +49,7 @@ extern int g_ndb_shm_signum;
#include <OutputStream.hpp>
#include <mgmapi/mgmapi.h>
#include <mgmapi_internal.h>
#include <mgmapi/mgmapi_debug.h>
#include <EventLogger.hpp>
...
...
ndb/src/mgmapi/mgmapi.cpp
View file @
34c5892c
...
...
@@ -23,6 +23,7 @@
#include <NdbSleep.h>
#include <NdbTCP.h>
#include <mgmapi.h>
#include <mgmapi_internal.h>
#include <mgmapi_debug.h>
#include "mgmapi_configuration.hpp"
#include <socket_io.h>
...
...
ndb/src/mgmapi/mgmapi_internal.h
0 → 100644
View file @
34c5892c
/* Copyright (C) 2005 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */
#ifndef MGMAPI_INTERNAL_H
#define MGMAPI_INTERNAL_H
#ifdef __cplusplus
extern
"C"
{
#endif
#include <NdbTCP.h>
/**
* Set an integer parameter for a connection
*
* @param handle the NDB management handle.
* @param node1 the node1 id
* @param node2 the node2 id
* @param param the parameter (e.g. CFG_CONNECTION_SERVER_PORT)
* @param value what to set it to
* @param reply from ndb_mgmd
*/
int
ndb_mgm_set_connection_int_parameter
(
NdbMgmHandle
handle
,
int
node1
,
int
node2
,
int
param
,
int
value
,
struct
ndb_mgm_reply
*
reply
);
/**
* Get an integer parameter for a connection
*
* @param handle the NDB management handle.
* @param node1 the node1 id
* @param node2 the node2 id
* @param param the parameter (e.g. CFG_CONNECTION_SERVER_PORT)
* @param value where to store the retreived value. In the case of
* error, value is not changed.
* @param reply from ndb_mgmd
* @return 0 on success. < 0 on error.
*/
int
ndb_mgm_get_connection_int_parameter
(
NdbMgmHandle
handle
,
int
node1
,
int
node2
,
int
param
,
int
*
value
,
struct
ndb_mgm_reply
*
reply
);
/**
* Convert connection to transporter
* @param handle NDB management handle.
*
* @return socket
*
* @note the socket is now able to be used as a transporter connection
*/
NDB_SOCKET_TYPE
ndb_mgm_convert_to_transporter
(
NdbMgmHandle
*
handle
);
#ifdef __cplusplus
}
#endif
#endif
ndb/src/ndbapi/ndb_cluster_connection.cpp
View file @
34c5892c
...
...
@@ -29,6 +29,7 @@
#include <ConfigRetriever.hpp>
#include <ndb_version.h>
#include <mgmapi_debug.h>
#include <mgmapi_internal.h>
#include <md5_hash.hpp>
#include <EventLogger.hpp>
...
...
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