Loading storage/ndb/include/debugger/EventLogger.hpp +0 −1 Original line number Diff line number Diff line Loading @@ -172,7 +172,6 @@ private: Uint32 m_filterLevel; STATIC_CONST(MAX_TEXT_LENGTH = 256); char m_text[MAX_TEXT_LENGTH]; }; Loading storage/ndb/include/logger/FileLogHandler.hpp +1 −1 Original line number Diff line number Diff line Loading @@ -102,7 +102,7 @@ private: bool setMaxFiles(const BaseString &files); int m_maxNoFiles; long m_maxFileSize; off_t m_maxFileSize; unsigned int m_maxLogEntries; File_class* m_pLogFile; }; Loading storage/ndb/include/logger/Logger.hpp +4 −2 Original line number Diff line number Diff line Loading @@ -155,8 +155,6 @@ public: /** * Create a default handler that logs to the syslog. * * On OSE a ConsoleHandler will be created since there is no syslog support. * * @return true if successful. */ bool createSyslogHandler(); Loading Loading @@ -276,6 +274,8 @@ public: protected: NdbMutex *m_mutex; void log(LoggerLevel logLevel, const char* msg, va_list ap) const; private: Loading @@ -290,7 +290,9 @@ private: LogHandlerList* m_pHandlerList; const char* m_pCategory; /* Default handlers */ NdbMutex *m_handler_mutex; LogHandler* m_pConsoleHandler; LogHandler* m_pFileHandler; LogHandler* m_pSyslogHandler; Loading storage/ndb/include/mgmapi/mgmapi_config_parameters.h +4 −4 Original line number Diff line number Diff line Loading @@ -149,9 +149,9 @@ #define CFG_SCI_SEND_LIMIT 554 #define CFG_SCI_BUFFER_MEM 555 #define CFG_OSE_PRIO_A_SIZE 602 #define CFG_OSE_PRIO_B_SIZE 603 #define CFG_OSE_RECEIVE_ARRAY_SIZE 604 #define CFG_602 602 // Removed: was OSE #define CFG_603 603 // Removed: was OSE #define CFG_604 604 // Removed: was OSE /** * API Config variables Loading @@ -178,6 +178,6 @@ #define CONNECTION_TYPE_TCP 0 #define CONNECTION_TYPE_SHM 1 #define CONNECTION_TYPE_SCI 2 #define CONNECTION_TYPE_OSE 3 #define CONNECTION_TYPE_OSE 3 // Removed. #endif storage/ndb/include/ndbapi/Ndb.hpp +1 −11 Original line number Diff line number Diff line Loading @@ -501,12 +501,11 @@ There are four conditions leading to the transfer of database operations from Ndb object buffers to the NDB kernel: -# The NDB Transporter (TCP/IP, OSE, SCI or shared memory) -# The NDB Transporter (TCP/IP, SCI or shared memory) decides that a buffer is full and sends it off. The buffer size is implementation-dependent and may change between MySQL Cluster releases. On TCP/IP the buffer size is usually around 64 KB; on OSE/Delta it is usually less than 2000 bytes. Since each Ndb object provides a single buffer per storage node, the notion of a "full" buffer is local to this storage node. -# The accumulation of statistical data on transferred information Loading Loading @@ -991,16 +990,7 @@ template <class T> struct Ndb_free_list_t; typedef void (* NdbEventCallback)(NdbEventOperation*, Ndb*, void*); #if defined NDB_OSE /** * Default time to wait for response after request has been sent to * NDB Cluster (Set to 10 seconds usually, but to 100 s in * the OSE operating system) */ #define WAITFOR_RESPONSE_TIMEOUT 100000 // Milliseconds #else #define WAITFOR_RESPONSE_TIMEOUT 120000 // Milliseconds #endif #define NDB_SYSTEM_DATABASE "sys" #define NDB_SYSTEM_SCHEMA "def" Loading Loading
storage/ndb/include/debugger/EventLogger.hpp +0 −1 Original line number Diff line number Diff line Loading @@ -172,7 +172,6 @@ private: Uint32 m_filterLevel; STATIC_CONST(MAX_TEXT_LENGTH = 256); char m_text[MAX_TEXT_LENGTH]; }; Loading
storage/ndb/include/logger/FileLogHandler.hpp +1 −1 Original line number Diff line number Diff line Loading @@ -102,7 +102,7 @@ private: bool setMaxFiles(const BaseString &files); int m_maxNoFiles; long m_maxFileSize; off_t m_maxFileSize; unsigned int m_maxLogEntries; File_class* m_pLogFile; }; Loading
storage/ndb/include/logger/Logger.hpp +4 −2 Original line number Diff line number Diff line Loading @@ -155,8 +155,6 @@ public: /** * Create a default handler that logs to the syslog. * * On OSE a ConsoleHandler will be created since there is no syslog support. * * @return true if successful. */ bool createSyslogHandler(); Loading Loading @@ -276,6 +274,8 @@ public: protected: NdbMutex *m_mutex; void log(LoggerLevel logLevel, const char* msg, va_list ap) const; private: Loading @@ -290,7 +290,9 @@ private: LogHandlerList* m_pHandlerList; const char* m_pCategory; /* Default handlers */ NdbMutex *m_handler_mutex; LogHandler* m_pConsoleHandler; LogHandler* m_pFileHandler; LogHandler* m_pSyslogHandler; Loading
storage/ndb/include/mgmapi/mgmapi_config_parameters.h +4 −4 Original line number Diff line number Diff line Loading @@ -149,9 +149,9 @@ #define CFG_SCI_SEND_LIMIT 554 #define CFG_SCI_BUFFER_MEM 555 #define CFG_OSE_PRIO_A_SIZE 602 #define CFG_OSE_PRIO_B_SIZE 603 #define CFG_OSE_RECEIVE_ARRAY_SIZE 604 #define CFG_602 602 // Removed: was OSE #define CFG_603 603 // Removed: was OSE #define CFG_604 604 // Removed: was OSE /** * API Config variables Loading @@ -178,6 +178,6 @@ #define CONNECTION_TYPE_TCP 0 #define CONNECTION_TYPE_SHM 1 #define CONNECTION_TYPE_SCI 2 #define CONNECTION_TYPE_OSE 3 #define CONNECTION_TYPE_OSE 3 // Removed. #endif
storage/ndb/include/ndbapi/Ndb.hpp +1 −11 Original line number Diff line number Diff line Loading @@ -501,12 +501,11 @@ There are four conditions leading to the transfer of database operations from Ndb object buffers to the NDB kernel: -# The NDB Transporter (TCP/IP, OSE, SCI or shared memory) -# The NDB Transporter (TCP/IP, SCI or shared memory) decides that a buffer is full and sends it off. The buffer size is implementation-dependent and may change between MySQL Cluster releases. On TCP/IP the buffer size is usually around 64 KB; on OSE/Delta it is usually less than 2000 bytes. Since each Ndb object provides a single buffer per storage node, the notion of a "full" buffer is local to this storage node. -# The accumulation of statistical data on transferred information Loading Loading @@ -991,16 +990,7 @@ template <class T> struct Ndb_free_list_t; typedef void (* NdbEventCallback)(NdbEventOperation*, Ndb*, void*); #if defined NDB_OSE /** * Default time to wait for response after request has been sent to * NDB Cluster (Set to 10 seconds usually, but to 100 s in * the OSE operating system) */ #define WAITFOR_RESPONSE_TIMEOUT 100000 // Milliseconds #else #define WAITFOR_RESPONSE_TIMEOUT 120000 // Milliseconds #endif #define NDB_SYSTEM_DATABASE "sys" #define NDB_SYSTEM_SCHEMA "def" Loading