List:Commits« Previous MessageNext Message »
From:rburnett Date:July 25 2008 9:05pm
Subject:Connector/NET commit: r1353 - in branches/5.1: . Driver/Source
View as plain text  
Modified:
   branches/5.1/CHANGES
   branches/5.1/Driver/Source/SchemaProvider.cs
Log:
merged

Modified: branches/5.1/CHANGES
===================================================================
--- branches/5.1/CHANGES	2008-07-25 21:00:39 UTC (rev 1352)
+++ branches/5.1/CHANGES	2008-07-25 21:05:01 UTC (rev 1353)
@@ -156,6 +156,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.1/Driver/Source/SchemaProvider.cs
===================================================================
--- branches/5.1/Driver/Source/SchemaProvider.cs	2008-07-25 21:00:39 UTC (rev 1352)
+++ branches/5.1/Driver/Source/SchemaProvider.cs	2008-07-25 21:05:01 UTC (rev 1353)
@@ -48,7 +48,7 @@
             if (connection.State != ConnectionState.Open)
                 throw new MySqlException("GetSchema can only be called on an open connection.");
 
-            collection = collection.ToLower(CultureInfo.CurrentCulture);
+            collection = collection.ToLower(CultureInfo.InvariantCulture);
 
             DataTable dt = GetSchemaInternal(collection, restrictions);
 

Thread
Connector/NET commit: r1353 - in branches/5.1: . Driver/Sourcerburnett25 Jul