Commit 01cc3440 authored by Bruce Momjian's avatar Bruce Momjian

Change the line:

 return ((c == 't') || (c == 'T'));
int the getBoolean function on line 184:ish to:
 return ((c == 't') || (c == 'T') (c == '1'));

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