List:Commits« Previous MessageNext Message »
From:Reggie Burnett Date:October 31 2011 5:35pm
Subject:bzr commit into connector-net-6.4 branch (reggie.burnett:1084)
View as plain text  
#At file:///C:/work/connector-net/6.4/ based on revid:reggie.burnett@stripped

 1084 Reggie Burnett	2011-10-31 [merge]
      merged

    modified:
      CHANGES
      Source/MySql.Data/parameter_collection.cs
=== modified file 'CHANGES'
=== modified file 'CHANGES'
--- a/CHANGES	2011-10-26 16:35:11 +0000
+++ b/CHANGES	2011-10-31 17:35:29 +0000
@@ -34,6 +34,7 @@
 - Removed check for hashed passwords when run on Mono.  It supports it now (MySQL bug #62203, Oracle bug #13041618)
 - Modified MySqlParameterCollection to autoassing parameter names if you try to add a parameter with a null
   or empty name (MySQL bug #62416, Oracle bug #13006969).
+- Sped up MySqlParameterCollection.AddWithValue for cases where large number of parameters are involved (MySQL bug #62563, Oracle bug #13331475)
 
 6.4.3 (ga)
 - Modified SqlFragment.QuoteIdentifier to add MySQL quotes around identifiers (MySQL bug #61635, Oracle bug #12707285).

=== modified file 'Source/MySql.Data/parameter_collection.cs'
--- a/Source/MySql.Data/parameter_collection.cs	2011-10-26 16:35:11 +0000
+++ b/Source/MySql.Data/parameter_collection.cs	2011-10-31 17:35:29 +0000
@@ -443,7 +443,7 @@
       if (index == -1)
       {
         items.Add(value);
-        index = items.IndexOf(value);
+        index = items.Count - 1;
       }
       else
       {


Attachment: [text/bzr-bundle] bzr/reggie.burnett@oracle.com-20111031173529-q47066hso5tplw4w.bundle
Thread
bzr commit into connector-net-6.4 branch (reggie.burnett:1084) Reggie Burnett1 Nov