Update of /cvsroot/pgsqlclient/pgsqlclient_10/PostgreSql.Data.PgSqlClient/source/NPgClient
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv3068
Modified Files:
PgTypeCollection.cs
Log Message:
Changed the SslClientStream instantiation
Index: PgTypeCollection.cs
===================================================================
RCS file: /cvsroot/pgsqlclient/pgsqlclient_10/PostgreSql.Data.PgSqlClient/source/NPgClient/PgTypeCollection.cs,v
retrieving revision 1.8
retrieving revision 1.9
diff -C2 -d -r1.8 -r1.9
*** PgTypeCollection.cs 9 Feb 2004 14:20:45 -0000 1.8
--- PgTypeCollection.cs 6 Mar 2004 14:52:50 -0000 1.9
***************
*** 106,117 ****
private bool cultureAwareCompare(string strA, string strB)
{
! try
! {
! return CultureInfo.CurrentCulture.CompareInfo.Compare(strA, strB, CompareOptions.IgnoreKanaType | CompareOptions.IgnoreWidth | CompareOptions.IgnoreCase) == 0 ? true : false;
! }
! catch (Exception)
! {
! return strA.ToUpper() == strB.ToUpper() ? true : false;
! }
}
--- 106,114 ----
private bool cultureAwareCompare(string strA, string strB)
{
! return CultureInfo.CurrentCulture.CompareInfo.Compare(
! strA,
! strB,
! CompareOptions.IgnoreKanaType | CompareOptions.IgnoreWidth |
! CompareOptions.IgnoreCase) == 0 ? true : false;
}
|