mirror of
https://github.com/MariaDB/server.git
synced 2025-12-04 17:23:46 +03:00
added debug prints
ndb/include/portlib/NdbTCP.h: added debug prints ndb/include/util/SocketServer.hpp: added debug prints ndb/src/common/mgmcommon/ConfigRetriever.cpp: debug prints ndb/src/common/mgmcommon/IPCConfig.cpp: debug prints ndb/src/common/portlib/NdbMutex.c: debug prints ndb/src/common/portlib/NdbTCP.cpp: debug printout ndb/src/common/portlib/NdbThread.c: debug printout ndb/src/common/transporter/TransporterRegistry.cpp: debug printout ndb/src/common/util/Parser.cpp: debug printout ndb/src/common/util/SocketClient.cpp: debug printout ndb/src/common/util/SocketServer.cpp: debug printout
This commit is contained in:
@@ -64,6 +64,8 @@ SocketServer::tryBind(unsigned short port, const char * intface) {
|
||||
return false;
|
||||
}
|
||||
|
||||
DBUG_PRINT("info",("NDB_SOCKET: %d", sock));
|
||||
|
||||
const int on = 1;
|
||||
if (setsockopt(sock, SOL_SOCKET, SO_REUSEADDR,
|
||||
(const char*)&on, sizeof(on)) == -1) {
|
||||
@@ -104,6 +106,8 @@ SocketServer::setup(SocketServer::Service * service,
|
||||
DBUG_RETURN(false);
|
||||
}
|
||||
|
||||
DBUG_PRINT("info",("NDB_SOCKET: %d", sock));
|
||||
|
||||
const int on = 1;
|
||||
if (setsockopt(sock, SOL_SOCKET, SO_REUSEADDR,
|
||||
(const char*)&on, sizeof(on)) == -1) {
|
||||
|
||||
Reference in New Issue
Block a user