Disable X connection close in ODBC until solution is found.

This commit is contained in:
Bruce Momjian 2001-02-10 23:35:04 +00:00
parent 4ea081e94f
commit 2cb7c5b24c

View File

@ -79,8 +79,10 @@ SOCK_Destructor(SocketClass * self)
{ {
if (!shutdown(self->socket, 2)) /* no sends or receives */ if (!shutdown(self->socket, 2)) /* no sends or receives */
{ {
#ifdef DOES_NOT_WORK
SOCK_put_char(self, 'X'); SOCK_put_char(self, 'X');
SOCK_flush_output(self); SOCK_flush_output(self);
#endif
closesocket(self->socket); closesocket(self->socket);
} }
} }