mirror of
https://github.com/MariaDB/server.git
synced 2025-01-22 06:44:16 +01:00
f2727ff26a
make previous patch portable by abstracting to Ndb_check_socket_hup. Is in portlib rather than mysys due to the socket parameter being NDB_SOCKET_TYPE ndb/include/portlib/NdbTCP.h: Add Ndb_check_socket_hup prototype ndb/src/common/portlib/NdbTCP.cpp: Implement Ndb_check_socket_hup for unix like systems using the poll system call. ndb/src/common/portlib/win32/NdbTCP.c: Implement Ndb_check_socket_hup(NDB_SOCKET_TYPE) for win32 using the select() call. (should work okay - unable to test on win32 due to status of ndb port though) ndb/src/mgmapi/mgmapi.cpp: Use the portable (portlib) Ndb_check_socket_hup to check socket status |
||
---|---|---|
.. | ||
NdbCondition.h | ||
NdbConfig.h | ||
NdbDaemon.h | ||
NdbEnv.h | ||
NdbHost.h | ||
NdbMain.h | ||
NdbMem.h | ||
NdbMutex.h | ||
NdbSleep.h | ||
NdbTCP.h | ||
NdbThread.h | ||
NdbTick.h | ||
PortDefs.h | ||
prefetch.h |