summaryrefslogtreecommitdiff
path: root/ndb
diff options
context:
space:
mode:
authorunknown <joreland@mysql.com>2004-10-21 12:39:08 +0200
committerunknown <joreland@mysql.com>2004-10-21 12:39:08 +0200
commit9a702d8a31bc7aeec7f1e570163ae9c673c39f62 (patch)
tree0a9bcc7c0a331152631326e884d838e68cf78e2a /ndb
parentf9300c2914271e4f08a8e2a41223cedbd82cc8bc (diff)
downloadmariadb-git-9a702d8a31bc7aeec7f1e570163ae9c673c39f62.tar.gz
compile fixes for butch
ndb/src/mgmsrv/ConfigInfo.cpp: Better cast ndb/src/mgmsrv/MgmtSrvr.cpp: Add default arg sql/ha_ndbcluster.cc: reorder methods, so that they are not used prior to declaration (inlines)
Diffstat (limited to 'ndb')
-rw-r--r--ndb/src/mgmsrv/ConfigInfo.cpp2
-rw-r--r--ndb/src/mgmsrv/MgmtSrvr.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/ndb/src/mgmsrv/ConfigInfo.cpp b/ndb/src/mgmsrv/ConfigInfo.cpp
index bff7f9be0e6..d9cae68d5e6 100644
--- a/ndb/src/mgmsrv/ConfigInfo.cpp
+++ b/ndb/src/mgmsrv/ConfigInfo.cpp
@@ -2189,7 +2189,7 @@ ConfigInfo::ConfigInfo()
break;
}
case SECTION:
- pinfo.put("SectionType", (Uint32)param._default);
+ pinfo.put("SectionType", (Uint32)UintPtr(param._default));
break;
case STRING:
break;
diff --git a/ndb/src/mgmsrv/MgmtSrvr.cpp b/ndb/src/mgmsrv/MgmtSrvr.cpp
index 92a8025295f..48239b53e7f 100644
--- a/ndb/src/mgmsrv/MgmtSrvr.cpp
+++ b/ndb/src/mgmsrv/MgmtSrvr.cpp
@@ -123,7 +123,7 @@ MgmtSrvr::signalRecvThreadRun()
while(!_isStopThread) {
SigMatch *handler = NULL;
NdbApiSignal *signal = NULL;
- if(m_signalRecvQueue.waitFor(siglist, handler, signal)) {
+ if(m_signalRecvQueue.waitFor(siglist, handler, signal, DEFAULT_TIMEOUT)) {
if(handler->function != 0)
(this->*handler->function)(signal);
}