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

Commitbe28191

Browse files
author
Peter Mount
committed
Fri Jan 19 08:47:00 GMT 2001 peter@retep.org.uk
- Applied patch submitted by John Schutz <schutz@austin.rr.com> that fixed a bug with ANT's SQL functions (not needed for building but nice to have fixed).
1 parent8fe8fc9 commitbe28191

File tree

3 files changed

+11
-2
lines changed

3 files changed

+11
-2
lines changed

‎src/interfaces/jdbc/CHANGELOG

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
Fri Jan 19 08:47:00 GMT 2001 peter@retep.org.uk
2+
- Applied patch submitted by John Schutz <schutz@austin.rr.com> that
3+
fixed a bug with ANT's SQL functions (not needed for building but nice
4+
to have fixed).
5+
16
Thu Jan 18 17:30:00 GMT 2001 peter@retep.org.uk
27
- Added new error message into errors.properties "postgresql.notsensitive"
38
This is used by jdbc2.ResultSet when a method is called that should

‎src/interfaces/jdbc/org/postgresql/jdbc1/Statement.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -281,7 +281,9 @@ public boolean execute(String sql) throws SQLException
281281
*/
282282
publicjava.sql.ResultSetgetResultSet()throwsSQLException
283283
{
284-
returnresult;
284+
if (result !=null) && ((org.postgresql.ResultSet)result.reallyResultSet())
285+
returnresult;
286+
returnnull;
285287
}
286288

287289
/**

‎src/interfaces/jdbc/org/postgresql/jdbc2/Statement.java

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -291,7 +291,9 @@ public boolean execute(String sql) throws SQLException
291291
*/
292292
publicjava.sql.ResultSetgetResultSet()throwsSQLException
293293
{
294-
returnresult;
294+
if (result !=null && ((org.postgresql.ResultSet)result).reallyResultSet())
295+
returnresult;
296+
returnnull;
295297
}
296298

297299
/**

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp