diff options
author | unknown <stewart@mysql.com> | 2005-08-17 08:40:11 +1000 |
---|---|---|
committer | unknown <stewart@mysql.com> | 2005-08-17 08:40:11 +1000 |
commit | f2727ff26a160f981d300edd6cba79e49867db58 (patch) | |
tree | 41feb355753303fc813eef0438c6b06ebefb1209 /innobase | |
parent | 2ad6ceb23e825816d954349eb384457145dd4076 (diff) | |
download | mariadb-git-f2727ff26a160f981d300edd6cba79e49867db58.tar.gz |
BUG#10950
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
Diffstat (limited to 'innobase')
0 files changed, 0 insertions, 0 deletions