mirror of
https://github.com/postgres/postgres.git
synced 2025-06-05 00:02:04 -04:00
Fixes bug where query hangs if there is an error in the query, went back to
code before QueryExecutor class was created and copied behaviour
This commit is contained in:
parent
8a25ec84e1
commit
202a19e47b
@ -13,7 +13,7 @@ import org.postgresql.util.PSQLException;
|
|||||||
* <p>The lifetime of a QueryExecutor object is from sending the query
|
* <p>The lifetime of a QueryExecutor object is from sending the query
|
||||||
* until the response has been received from the backend.
|
* until the response has been received from the backend.
|
||||||
*
|
*
|
||||||
* $Id: QueryExecutor.java,v 1.9 2002/03/16 02:15:23 davec Exp $
|
* $Id: QueryExecutor.java,v 1.10 2002/03/18 04:16:33 davec Exp $
|
||||||
*/
|
*/
|
||||||
|
|
||||||
public class QueryExecutor
|
public class QueryExecutor
|
||||||
@ -104,6 +104,7 @@ public class QueryExecutor
|
|||||||
|
|
||||||
errorMessage.append(pg_stream.ReceiveString(connection.getEncoding()));
|
errorMessage.append(pg_stream.ReceiveString(connection.getEncoding()));
|
||||||
// keep processing
|
// keep processing
|
||||||
|
hfr = true;
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case 'I': // Empty Query
|
case 'I': // Empty Query
|
||||||
|
Loading…
x
Reference in New Issue
Block a user