mirror of
https://github.com/postgres/postgres.git
synced 2025-06-30 21:42:05 +03:00
Allow '1' in jdbc2 boolean test.
This commit is contained in:
@ -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
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user