mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
wl1744 - fix compiler problems
ndb/include/debugger/GrepError.hpp: prexif ndb/include/kernel/LogLevel.hpp: fix correct type prototype ndb/include/kernel/signaldata/FsCloseReq.hpp: remove usage of true ndb/include/mgmapi/mgmapi.h: use Uint64 instead of long long ndb/include/mgmcommon/IPCConfig.hpp: correct type ndb/include/portlib/NdbTCP.h: fix #elif ndb/include/transporter/TransporterRegistry.hpp: correct type ndb/include/util/Parser.hpp: correct type made stuff public as vc++ couldn't handle template friends ndb/include/util/SimpleProperties.hpp: correct type ndb/src/common/debugger/EventLogger.cpp: Prefix GrepError::Code as GrepError::GE_Code ndb/src/common/debugger/GrepError.cpp: Prefix GrepError::Code as GrepError::GE_Code ndb/src/common/debugger/signaldata/FsCloseReq.cpp: removed usage of true ndb/src/common/debugger/signaldata/FsReadWriteReq.cpp: removed usage of true ndb/src/common/logger/LogHandlerList.hpp: use ndb_global ndb/src/common/mgmcommon/ConfigRetriever.cpp: removed ConfigRetriever::get_config(file) from windows ndb/src/common/transporter/TransporterRegistry.cpp: interface is a reserved word in vc++ ndb/src/kernel/blocks/grep/Grep.hpp: Prefix GrepError::Code as GrepError::GE_Code ndb/src/kernel/vm/Configuration.cpp: Use BaseString::snprintf ndb/src/kernel/vm/Configuration.hpp: correct type ndb/src/kernel/vm/SimplePropertiesSection.cpp: correct type ndb/src/mgmapi/mgmapi_configuration.cpp: use Uin6t4 ndb/src/mgmapi/mgmapi_configuration.hpp: use Uin6t4 ndb/src/mgmsrv/ConfigInfo.cpp: Prefix ndb/src/mgmsrv/ConfigInfo.hpp: prefix ndb/src/ndbapi/Ndb.cpp: removed usued include ndb/src/ndbapi/NdbImpl.hpp: prefix ndb/src/ndbapi/ObjectMap.hpp: Better typecast
This commit is contained in:
@ -38,20 +38,20 @@ public:
|
||||
/**
|
||||
* Value types
|
||||
*/
|
||||
enum ValueType {
|
||||
enum ValueType {
|
||||
Uint32Value = 0,
|
||||
StringValue = 1,
|
||||
BinaryValue = 2,
|
||||
InvalidValue = 3
|
||||
};
|
||||
|
||||
};
|
||||
|
||||
/**
|
||||
* Struct for defining mapping to be used with unpack
|
||||
*/
|
||||
struct SP2StructMapping {
|
||||
Uint16 Key;
|
||||
Uint32 Offset;
|
||||
SimpleProperties::ValueType Type;
|
||||
ValueType Type;
|
||||
Uint32 minValue;
|
||||
Uint32 maxValue;
|
||||
Uint32 Length_Offset; // Offset used for looking up length of
|
||||
@ -233,7 +233,7 @@ private:
|
||||
*/
|
||||
class SimplePropertiesSectionReader : public SimpleProperties::Reader {
|
||||
public:
|
||||
SimplePropertiesSectionReader(class SegmentedSectionPtr &,
|
||||
SimplePropertiesSectionReader(struct SegmentedSectionPtr &,
|
||||
class SectionSegmentPool &);
|
||||
|
||||
virtual void reset();
|
||||
@ -248,8 +248,8 @@ private:
|
||||
Uint32 m_pos;
|
||||
Uint32 m_len;
|
||||
class SectionSegmentPool & m_pool;
|
||||
class SectionSegment * m_head;
|
||||
class SectionSegment * m_currentSegment;
|
||||
struct SectionSegment * m_head;
|
||||
struct SectionSegment * m_currentSegment;
|
||||
};
|
||||
|
||||
inline
|
||||
@ -275,15 +275,15 @@ public:
|
||||
/**
|
||||
* This "unlinks" the writer from the memory
|
||||
*/
|
||||
void getPtr(class SegmentedSectionPtr & dst);
|
||||
void getPtr(struct SegmentedSectionPtr & dst);
|
||||
|
||||
private:
|
||||
Int32 m_pos;
|
||||
Uint32 m_sz;
|
||||
class SectionSegmentPool & m_pool;
|
||||
class SectionSegment * m_head;
|
||||
struct SectionSegment * m_head;
|
||||
Uint32 m_prevPtrI; // Prev to m_currentSegment
|
||||
class SectionSegment * m_currentSegment;
|
||||
struct SectionSegment * m_currentSegment;
|
||||
};
|
||||
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user