List:Commits« Previous MessageNext Message »
From:rburnett Date:July 25 2008 9:10pm
Subject:Connector/NET commit: r1354 - in branches/5.2: . MySql.Data/Provider/Source
View as plain text  
Modified:
   branches/5.2/CHANGES
   branches/5.2/MySql.Data/Provider/Source/SchemaProvider.cs
Log:
merged

Modified: branches/5.2/CHANGES
===================================================================
--- branches/5.2/CHANGES	2008-07-25 21:05:01 UTC (rev 1353)
+++ branches/5.2/CHANGES	2008-07-25 21:10:13 UTC (rev 1354)
@@ -237,6 +237,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.2/MySql.Data/Provider/Source/SchemaProvider.cs
===================================================================
--- branches/5.2/MySql.Data/Provider/Source/SchemaProvider.cs	2008-07-25 21:05:01 UTC (rev 1353)
+++ branches/5.2/MySql.Data/Provider/Source/SchemaProvider.cs	2008-07-25 21:10:13 UTC (rev 1354)
@@ -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: r1354 - in branches/5.2: . MySql.Data/Provider/Sourcerburnett25 Jul