Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 202a19e

Browse files
author
Dave Cramer
committed
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
1 parent 8a25ec8 commit 202a19e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/interfaces/jdbc/org/postgresql/core/QueryExecutor.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
* <p>The lifetime of a QueryExecutor object is from sending the query
1414
* until the response has been received from the backend.
1515
*
16-
* $Id: QueryExecutor.java,v 1.9 2002/03/16 02:15:23 davec Exp $
16+
* $Id: QueryExecutor.java,v 1.10 2002/03/18 04:16:33 davec Exp $
1717
*/
1818

1919
public class QueryExecutor
@@ -104,6 +104,7 @@ public java.sql.ResultSet execute() throws SQLException
104104

105105
errorMessage.append(pg_stream.ReceiveString(connection.getEncoding()));
106106
// keep processing
107+
hfr = true;
107108
break;
108109

109110
case 'I': // Empty Query

0 commit comments

Comments
 (0)