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
This commit is contained in:
Bruce Momjian 2001-05-16 16:30:38 +00:00
parent 9cdf723142
commit 01cc344011
2 changed files with 2 additions and 2 deletions

View File

@ -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
}

View File

@ -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
}