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

 1091 Reggie Burnett	2011-10-31
      - Sped up MySqlParameterCollection.AddWithValue for cases where large number of parameters are involved (MySQL bug #62563, Oracle bug #13331475)

    modified:
      CHANGES
      Source/MySql.Data/parameter_collection.cs
=== modified file 'CHANGES'
=== modified file 'CHANGES'
--- a/CHANGES	2011-10-26 16:34:48 +0000
+++ b/CHANGES	2011-10-31 17:35:05 +0000
@@ -35,6 +35,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)
 
 Version 6.3.7
 - IPv6 connections are now supported 

=== modified file 'Source/MySql.Data/parameter_collection.cs'
--- a/Source/MySql.Data/parameter_collection.cs	2011-10-26 16:34:48 +0000
+++ b/Source/MySql.Data/parameter_collection.cs	2011-10-31 17:35:05 +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-20111031173505-c5mytgdc3cungmhr.bundle
Thread
bzr commit into connector-net-6.3 branch (reggie.burnett:1091) Bug#62563Bug#13331475Reggie Burnett1 Nov