mirror of
https://git.postgresql.org/git/postgresql.git
synced 2024-10-04 09:56:48 +02:00
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:
parent
9cdf723142
commit
01cc344011
@ -190,7 +190,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
|
||||||
}
|
}
|
||||||
|
@ -198,7 +198,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
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user