3041 Magnus Blåudd 2009-09-09
Bug#46113 ndbd fails to start when built with gcc-4.4.0 (e.g Fedora 11)
- Avoid unintentional zero-initializartion of TakeOverRecord using
default constructor
modified:
storage/ndb/src/kernel/blocks/dbdih/DbdihInit.cpp
3040 Magnus Blåudd 2009-09-08 [merge]
Merge
modified:
storage/ndb/include/portlib/NdbThread.h
storage/ndb/src/common/portlib/NdbThread.c
storage/ndb/src/common/transporter/TransporterRegistry.cpp
storage/ndb/src/common/util/SocketServer.cpp
storage/ndb/src/cw/cpcd/Monitor.cpp
storage/ndb/src/kernel/vm/WatchDog.cpp
storage/ndb/src/mgmclient/CommandInterpreter.cpp
storage/ndb/src/mgmsrv/MgmtSrvr.cpp
storage/ndb/src/ndbapi/ClusterMgr.cpp
storage/ndb/src/ndbapi/TransporterFacade.cpp
storage/ndb/src/ndbapi/ndb_cluster_connection.cpp
storage/ndb/test/src/NDBT_Test.cpp
=== modified file 'storage/ndb/src/kernel/blocks/dbdih/DbdihInit.cpp'
--- a/storage/ndb/src/kernel/blocks/dbdih/DbdihInit.cpp 2009-05-27 12:11:46 +0000
+++ b/storage/ndb/src/kernel/blocks/dbdih/DbdihInit.cpp 2009-09-09 08:20:02 +0000
@@ -48,7 +48,7 @@ void Dbdih::initData()
Ptr<TakeOverRecord> ptr;
while (c_activeTakeOverList.seize(ptr))
{
- new (ptr.p) TakeOverRecord();
+ new (ptr.p) TakeOverRecord;
}
while (c_activeTakeOverList.first(ptr))
{
Attachment: [text/bzr-bundle] bzr/magnus.blaudd@sun.com-20090909082002-uueiant6hklugm24.bundle
| Thread |
|---|
| • bzr push into mysql-5.1-telco-6.3 branch (magnus.blaudd:3040 to 3041)Bug#46113 | Magnus Blåudd | 9 Sep |