summaryrefslogtreecommitdiff
path: root/ndb/src/mgmsrv/Services.cpp
diff options
context:
space:
mode:
authortomas@poseidon.ndb.mysql.com <>2005-09-12 16:08:16 +0200
committertomas@poseidon.ndb.mysql.com <>2005-09-12 16:08:16 +0200
commit42e9e67062c15aad36ff74e5b26833648a3b44fa (patch)
tree2ecbceacd74e891389a8c6b429a854ab6289dcb1 /ndb/src/mgmsrv/Services.cpp
parent99bc9607e12f9f73795a65b2ae022f3b5cce6a4e (diff)
downloadmariadb-git-42e9e67062c15aad36ff74e5b26833648a3b44fa.tar.gz
reengineered ndb_mgmd to use SignalSender and remove some multi user issues
Diffstat (limited to 'ndb/src/mgmsrv/Services.cpp')
-rw-r--r--ndb/src/mgmsrv/Services.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/ndb/src/mgmsrv/Services.cpp b/ndb/src/mgmsrv/Services.cpp
index 46bfb531b61..a6e418b43a1 100644
--- a/ndb/src/mgmsrv/Services.cpp
+++ b/ndb/src/mgmsrv/Services.cpp
@@ -1203,7 +1203,11 @@ MgmApiSession::setLogFilter(Parser_t::Context &ctx,
void
MgmApiSession::configLock(Parser_t::Context &,
Properties const &) {
+#if 0 // not implemented
int ret = m_mgmsrv.lockConf();
+#else
+ int ret = -1;
+#endif
m_output->println("config lock reply");
m_output->println("result: %d", ret);
m_output->println("");
@@ -1214,7 +1218,11 @@ MgmApiSession::configUnlock(Parser_t::Context &,
Properties const &args) {
Uint32 commit;
args.get("commit", &commit);
+#if 0 // not implemented
int ret = m_mgmsrv.unlockConf(commit == 1);
+#else
+ int ret = -1;
+#endif
m_output->println("config unlock reply");
m_output->println("result: %d", ret);
m_output->println("");