Commit 983fc976 authored by Bruce Momjian's avatar Bruce Momjian

The isWritable method in ResultSetMetaData returns the logically

incorrect result. This bug goes back to at least 6.3.

Alvin
parent d13fe290
...@@ -378,9 +378,9 @@ public class ResultSetMetaData implements java.sql.ResultSetMetaData ...@@ -378,9 +378,9 @@ public class ResultSetMetaData implements java.sql.ResultSetMetaData
public boolean isWritable(int column) throws SQLException public boolean isWritable(int column) throws SQLException
{ {
if (isReadOnly(column)) if (isReadOnly(column))
return true;
else
return false; return false;
else
return true;
} }
/** /**
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment