mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
bug #7104
+ some extra debug printouts mysql-test/ndb/ndbcluster.sh: fixed debug flag in ndbcluster start script ndb/include/debugger/EventLogger.hpp: bug #7104 ndb/include/kernel/LogLevel.hpp: bug #7104 ndb/src/common/debugger/EventLogger.cpp: bug #7104 ndb/src/common/portlib/NdbTCP.cpp: removed debug printout in Ndb_getInAddr ndb/src/kernel/blocks/cmvmi/Cmvmi.cpp: bug #7104 ndb/src/mgmapi/mgmapi.cpp: bug #7104 ndb/src/mgmsrv/MgmtSrvr.cpp: bug #7104 ndb/src/mgmsrv/MgmtSrvr.hpp: bug #7104 ndb/src/mgmsrv/Services.cpp: bug #7104 ndb/src/ndbapi/TransporterFacade.cpp: bug #7104
This commit is contained in:
@ -73,7 +73,7 @@ public:
|
||||
/**
|
||||
* Note level is valid as 0-15
|
||||
*/
|
||||
void setLogLevel(EventCategory ec, Uint32 level = 7);
|
||||
int setLogLevel(EventCategory ec, Uint32 level = 7);
|
||||
|
||||
/**
|
||||
* Get the loglevel (0-15) for a category
|
||||
@ -119,10 +119,14 @@ LogLevel::clear(){
|
||||
}
|
||||
|
||||
inline
|
||||
void
|
||||
int
|
||||
LogLevel::setLogLevel(EventCategory ec, Uint32 level){
|
||||
assert(ec >= 0 && (Uint32) ec < LOGLEVEL_CATEGORIES);
|
||||
logLevelData[ec] = (Uint8)level;
|
||||
if (ec >= 0 && (Uint32) ec < LOGLEVEL_CATEGORIES)
|
||||
{
|
||||
logLevelData[ec] = (Uint8)level;
|
||||
return 0;
|
||||
}
|
||||
return 1;
|
||||
}
|
||||
|
||||
inline
|
||||
|
Reference in New Issue
Block a user