projects
/
postgresql.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4ea081e
)
Disable X connection close in ODBC until solution is found.
author
Bruce Momjian
Sat, 10 Feb 2001 23:35:04 +0000
(23:35 +0000)
committer
Bruce Momjian
Sat, 10 Feb 2001 23:35:04 +0000
(23:35 +0000)
src/interfaces/odbc/socket.c
patch
|
blob
|
blame
|
history
diff --git
a/src/interfaces/odbc/socket.c
b/src/interfaces/odbc/socket.c
index 2ea3a7ae0b1dad25424a0cf4f789202de8daa359..d062ba569305a4904b63aff454a7db46f2cd2859 100644
(file)
--- 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);
}
}