Loading ndb/include/util/SocketServer.hpp +1 −1 Original line number Diff line number Diff line Loading @@ -74,7 +74,7 @@ public: /** * Constructor / Destructor */ SocketServer(int maxSessions = 32); SocketServer(unsigned maxSessions = ~(unsigned)0); ~SocketServer(); /** Loading ndb/src/common/util/SocketServer.cpp +2 −2 Original line number Diff line number Diff line Loading @@ -27,7 +27,7 @@ #define DEBUG(x) ndbout << x << endl; SocketServer::SocketServer(int maxSessions) : SocketServer::SocketServer(unsigned maxSessions) : m_sessions(10), m_services(5) { Loading Loading @@ -124,7 +124,7 @@ SocketServer::setup(SocketServer::Service * service, DBUG_RETURN(false); } if (listen(sock, m_maxSessions) == -1){ if (listen(sock, m_maxSessions > 32 ? 32 : m_maxSessions) == -1){ DBUG_PRINT("error",("listen() - %d - %s", errno, strerror(errno))); NDB_CLOSE_SOCKET(sock); Loading support-files/mysql.spec.sh +1 −0 Original line number Diff line number Diff line Loading @@ -630,6 +630,7 @@ fi %attr(755, root, root) %{_bindir}/ndb_desc %attr(755, root, root) %{_bindir}/ndb_show_tables %attr(755, root, root) %{_bindir}/ndb_test_platform %attr(755, root, root) %{_bindir}/ndb_config %files ndb-extra %defattr(-,root,root,0755) Loading Loading
ndb/include/util/SocketServer.hpp +1 −1 Original line number Diff line number Diff line Loading @@ -74,7 +74,7 @@ public: /** * Constructor / Destructor */ SocketServer(int maxSessions = 32); SocketServer(unsigned maxSessions = ~(unsigned)0); ~SocketServer(); /** Loading
ndb/src/common/util/SocketServer.cpp +2 −2 Original line number Diff line number Diff line Loading @@ -27,7 +27,7 @@ #define DEBUG(x) ndbout << x << endl; SocketServer::SocketServer(int maxSessions) : SocketServer::SocketServer(unsigned maxSessions) : m_sessions(10), m_services(5) { Loading Loading @@ -124,7 +124,7 @@ SocketServer::setup(SocketServer::Service * service, DBUG_RETURN(false); } if (listen(sock, m_maxSessions) == -1){ if (listen(sock, m_maxSessions > 32 ? 32 : m_maxSessions) == -1){ DBUG_PRINT("error",("listen() - %d - %s", errno, strerror(errno))); NDB_CLOSE_SOCKET(sock); Loading
support-files/mysql.spec.sh +1 −0 Original line number Diff line number Diff line Loading @@ -630,6 +630,7 @@ fi %attr(755, root, root) %{_bindir}/ndb_desc %attr(755, root, root) %{_bindir}/ndb_show_tables %attr(755, root, root) %{_bindir}/ndb_test_platform %attr(755, root, root) %{_bindir}/ndb_config %files ndb-extra %defattr(-,root,root,0755) Loading