Fixed improper message length for the connection termination message 'X' when
using the V3 protocol. Modified Files: jdbc1/AbstractJdbc1Connection.java
This commit is contained in:
parent
d3fe721a40
commit
5cad6813fb
@ -9,7 +9,7 @@
|
|||||||
* Copyright (c) 2003, PostgreSQL Global Development Group
|
* Copyright (c) 2003, PostgreSQL Global Development Group
|
||||||
*
|
*
|
||||||
* IDENTIFICATION
|
* IDENTIFICATION
|
||||||
* $Header: /cvsroot/pgsql/src/interfaces/jdbc/org/postgresql/jdbc1/Attic/AbstractJdbc1Connection.java,v 1.22 2003/08/11 20:54:55 barry Exp $
|
* $Header: /cvsroot/pgsql/src/interfaces/jdbc/org/postgresql/jdbc1/Attic/AbstractJdbc1Connection.java,v 1.23 2003/08/15 18:36:58 barry Exp $
|
||||||
*
|
*
|
||||||
*-------------------------------------------------------------------------
|
*-------------------------------------------------------------------------
|
||||||
*/
|
*/
|
||||||
@ -1121,7 +1121,7 @@ public abstract class AbstractJdbc1Connection implements BaseConnection
|
|||||||
try
|
try
|
||||||
{
|
{
|
||||||
pgStream.SendChar('X');
|
pgStream.SendChar('X');
|
||||||
pgStream.SendInteger(0,4);
|
pgStream.SendInteger(4,4);
|
||||||
pgStream.flush();
|
pgStream.flush();
|
||||||
pgStream.close();
|
pgStream.close();
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user