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);
| Thread |
|---|
| • Connector/NET commit: r1352 - in branches/5.0: . Driver/Source | rburnett | 25 Jul |