mirror of
https://github.com/MariaDB/server.git
synced 2025-08-31 22:22:30 +03:00
WL#3704 mgmapi timeouts (and cleanups)
indicate units in SocketOutputStream timeout rename timeout in SocketOutputStream to reflect units (ms) In 5.0 as well as is safe cleanup patch that will help with merging. ndb/include/util/OutputStream.hpp: rename timeout in SocketOutputStream to reflect units (ms) ndb/src/common/util/OutputStream.cpp: rename timeout in SocketOutputStream to reflect units (ms)
This commit is contained in:
@@ -42,10 +42,10 @@ public:
|
||||
|
||||
class SocketOutputStream : public OutputStream {
|
||||
NDB_SOCKET_TYPE m_socket;
|
||||
unsigned m_timeout;
|
||||
unsigned m_timeout_ms;
|
||||
public:
|
||||
SocketOutputStream(NDB_SOCKET_TYPE socket, unsigned writeTimeout = 1000);
|
||||
|
||||
SocketOutputStream(NDB_SOCKET_TYPE socket, unsigned write_timeout_ms = 1000);
|
||||
|
||||
int print(const char * fmt, ...);
|
||||
int println(const char * fmt, ...);
|
||||
};
|
||||
|
Reference in New Issue
Block a user