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

Commit 983fc97

Browse files
committed
The isWritable method in ResultSetMetaData returns the logically
incorrect result. This bug goes back to at least 6.3. Alvin
1 parent d13fe29 commit 983fc97

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/interfaces/jdbc/postgresql/ResultSetMetaData.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -378,9 +378,9 @@ public boolean isReadOnly(int column) throws SQLException
378378
public boolean isWritable(int column) throws SQLException
379379
{
380380
if (isReadOnly(column))
381-
return true;
382-
else
383381
return false;
382+
else
383+
return true;
384384
}
385385

386386
/**

0 commit comments

Comments
 (0)