Commit e8d5b8d2 authored by Bruce Momjian's avatar Bruce Momjian

Allow '1' in jdbc2 boolean test.

parent 2374be8a
...@@ -1396,7 +1396,7 @@ public class ResultSet extends org.postgresql.ResultSet implements java.sql.Resu ...@@ -1396,7 +1396,7 @@ public class ResultSet extends org.postgresql.ResultSet implements java.sql.Resu
if (s != null) if (s != null)
{ {
int c = s.charAt(0); int c = s.charAt(0);
return ((c == 't') || (c == 'T')); return ((c == 't') || (c == 'T') || (c == '1'));
} }
return false; // SQL NULL return false; // SQL NULL
} }
......
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