diff options
author | Dave Cramer <davec@fastcrypt.com> | 2002-03-18 04:16:33 +0000 |
---|---|---|
committer | Dave Cramer <davec@fastcrypt.com> | 2002-03-18 04:16:33 +0000 |
commit | 202a19e47bfd3a28dc1ec7ef73d15c05a532bd13 (patch) | |
tree | 602efdc8993ed9c186da544af70c44dfd558d991 /src | |
parent | 8a25ec84e19c0f7c77f5bbe445c29828ef750409 (diff) | |
download | postgresql-202a19e47bfd3a28dc1ec7ef73d15c05a532bd13.tar.gz postgresql-202a19e47bfd3a28dc1ec7ef73d15c05a532bd13.zip |
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
Diffstat (limited to 'src')
-rw-r--r-- | src/interfaces/jdbc/org/postgresql/core/QueryExecutor.java | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/interfaces/jdbc/org/postgresql/core/QueryExecutor.java b/src/interfaces/jdbc/org/postgresql/core/QueryExecutor.java index 72877e5e4ce..c1cc04de3ae 100644 --- a/src/interfaces/jdbc/org/postgresql/core/QueryExecutor.java +++ b/src/interfaces/jdbc/org/postgresql/core/QueryExecutor.java @@ -13,7 +13,7 @@ import org.postgresql.util.PSQLException; * <p>The lifetime of a QueryExecutor object is from sending the query * 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 @@ -104,6 +104,7 @@ public class QueryExecutor errorMessage.append(pg_stream.ReceiveString(connection.getEncoding())); // keep processing + hfr = true; break; case 'I': // Empty Query |