1
0
mirror of https://github.com/postgres/postgres.git synced 2025-07-15 19:21:59 +03:00

Removed error message that was incorectly being issued. This fixes a problem reported a few months ago where a select in a rule was causing an insert statement to return a result set which the code was explicitly prohibiting.

This commit is contained in:
Barry Lind
2002-04-02 06:24:10 +00:00
parent 9c54cfb493
commit 8860110a74
7 changed files with 1 additions and 10 deletions

View File

@ -71,8 +71,6 @@ public class Statement extends org.postgresql.Statement implements java.sql.Stat
public int executeUpdate(String sql) throws SQLException
{
this.execute(sql);
if (((org.postgresql.ResultSet)result).reallyResultSet())
throw new PSQLException("postgresql.stat.result");
return this.getUpdateCount();
}