List:Commits« Previous MessageNext Message »
From:rburnett Date:March 26 2007 9:22pm
Subject:Connector/NET commit: r648 - branches/5.0/Driver/Source
View as plain text  
Modified:
   branches/5.0/Driver/Source/MySqlConnectionStringBuilder.cs
Log:
Bug #26147 "User Id" problem during connection creation 

We were not doing a culture invariant .ToLower() on the connection string key.  This
caused a problem in certain cultures like Turkish.

Modified: branches/5.0/Driver/Source/MySqlConnectionStringBuilder.cs
===================================================================
--- branches/5.0/Driver/Source/MySqlConnectionStringBuilder.cs	2007-03-22 21:16:36 UTC
(rev 647)
+++ branches/5.0/Driver/Source/MySqlConnectionStringBuilder.cs	2007-03-26 19:22:27 UTC
(rev 648)
@@ -673,7 +673,7 @@
 
         private Keyword GetKey(string key)
         {
-            string lowerKey = key.ToLower();
+            string lowerKey = key.ToLower(CultureInfo.InvariantCulture);
             switch (lowerKey)
             {
                 case "uid":

Thread
Connector/NET commit: r648 - branches/5.0/Driver/Sourcerburnett26 Mar