From: Bruce Momjian Date: Sat, 10 Feb 2001 23:35:04 +0000 (+0000) Subject: Disable X connection close in ODBC until solution is found. X-Git-Tag: REL7_1~474 X-Git-Url: http://git.postgresql.org/gitweb/static/gitweb.js?a=commitdiff_plain;h=2cb7c5b24c8fbe53402c295155852380486058d5;p=users%2Fhanada%2Fpostgres.git Disable X connection close in ODBC until solution is found. --- diff --git a/src/interfaces/odbc/socket.c b/src/interfaces/odbc/socket.c index 2ea3a7ae0b..d062ba5693 100644 --- a/src/interfaces/odbc/socket.c +++ b/src/interfaces/odbc/socket.c @@ -79,8 +79,10 @@ SOCK_Destructor(SocketClass * self) { if (!shutdown(self->socket, 2)) /* no sends or receives */ { +#ifdef DOES_NOT_WORK SOCK_put_char(self, 'X'); SOCK_flush_output(self); +#endif closesocket(self->socket); } }