From: Date: July 25 2008 11:00pm Subject: Connector/NET commit: r1352 - in branches/5.0: . Driver/Source List-Archive: http://lists.mysql.com/commits/50535 X-Bug: 35459 Message-Id: <200807252100.m6PL0eBV003939@bk-internal.mysql.com> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Modified: branches/5.0/CHANGES branches/5.0/Driver/Source/SchemaProvider.cs Log: Fixed GetSchema to work properly when querying for a collection with non-English locale (bug #35459) Modified: branches/5.0/CHANGES =================================================================== --- branches/5.0/CHANGES 2008-07-22 19:21:05 UTC (rev 1351) +++ branches/5.0/CHANGES 2008-07-25 21:00:39 UTC (rev 1352) @@ -13,6 +13,8 @@ using prepared statements (bug #37968) - Fixed writing of single and double values to write out the proper number of digits (bug #33322) + - Fixed GetSchema to work properly when querying for a collection with non-English + locale (bug #35459) Version 5.0.9 - 4/14/08 Modified: branches/5.0/Driver/Source/SchemaProvider.cs =================================================================== --- branches/5.0/Driver/Source/SchemaProvider.cs 2008-07-22 19:21:05 UTC (rev 1351) +++ branches/5.0/Driver/Source/SchemaProvider.cs 2008-07-25 21:00:39 UTC (rev 1352) @@ -47,7 +47,7 @@ if (connection.State != ConnectionState.Open) throw new MySqlException("GetSchema can only be called on an open connection."); - collection = collection.ToLower(System.Globalization.CultureInfo.CurrentCulture); + collection = collection.ToLower(CultureInfo.InvariantCulture); DataTable dt = GetSchemaInternal(collection, restrictions);