summaryrefslogtreecommitdiff
path: root/ndb/src/mgmsrv/Services.hpp
diff options
context:
space:
mode:
authorunknown <stewart@mysql.com>2004-12-13 15:30:13 +1100
committerunknown <stewart@mysql.com>2004-12-13 15:30:13 +1100
commit6d005f57df4bc2c886290f78f05e395ea4a04faa (patch)
tree7733f18074c6ed869f4e4d7c016e1f507e3e1dde /ndb/src/mgmsrv/Services.hpp
parentfebb9bc75e5379362d3e4f60d9100f3dc78ec055 (diff)
downloadmariadb-git-6d005f57df4bc2c886290f78f05e395ea4a04faa.tar.gz
Most of impl 1, "report port" of WL2278.
Add facility to report back to ndb_mgmd what port was used for a connection. We do not actually do the reporting back yet. ndb/include/mgmapi/mgmapi_debug.h: Add prototype for ndb_mgm_set_connection_int_parameter ndb/src/mgmapi/mgmapi.cpp: Add ndb_mgm_set_connection_int_parameter. Do 'set connection parameter' ndb_mgm_call ndb/src/mgmsrv/MgmtSrvr.cpp: Add MgmtSrvr::setConnectionDbParameter. Find the connection between node1 and node2, ndb/src/mgmsrv/MgmtSrvr.hpp: Add prototype for setConnectionDbParameter ndb/src/mgmsrv/Services.cpp: Add 'set connection parameter' cmd and MgmApiSession::setConnectionParameter handler. ndb/src/mgmsrv/Services.hpp: add setConnectionParameter prototype.
Diffstat (limited to 'ndb/src/mgmsrv/Services.hpp')
-rw-r--r--ndb/src/mgmsrv/Services.hpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/ndb/src/mgmsrv/Services.hpp b/ndb/src/mgmsrv/Services.hpp
index 6a5f06a659e..6e1e887cf38 100644
--- a/ndb/src/mgmsrv/Services.hpp
+++ b/ndb/src/mgmsrv/Services.hpp
@@ -88,6 +88,9 @@ public:
void configChange(Parser_t::Context &ctx, const class Properties &args);
void setParameter(Parser_t::Context &ctx, const class Properties &args);
+ void setConnectionParameter(Parser_t::Context &ctx,
+ const class Properties &args);
+
void listen_event(Parser_t::Context &ctx, const class Properties &args);
void purge_stale_sessions(Parser_t::Context &ctx, const class Properties &args);