Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit202a19e

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 parent8a25ec8 commit202a19e

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
publicclassQueryExecutor
@@ -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)

[8]ページ先頭

©2009-2025 Movatter.jp