List:Commits« Previous MessageNext Message »
From:Reggie Burnett Date:June 25 2010 5:43pm
Subject:bzr commit into connector-net-6.2 branch (reggie.burnett:863)
View as plain text  
#At file:///C:/work/bzr-connector-net/6.2/ based on revid:iggy@stripped

  863 Reggie Burnett	2010-06-25 [merge]
      merged

    modified:
      CHANGES
      MySql.Data/Provider/Source/MySqlHelper.cs
=== modified file 'CHANGES'
=== modified file 'CHANGES'
--- a/CHANGES	2010-06-22 11:46:38 +0000
+++ b/CHANGES	2010-06-25 17:43:50 +0000
@@ -15,6 +15,7 @@
   NULL (bug#52175)
 - improved our procedure caching so that if you drop and recreate a proc with a different number of parameters
   it will find the new proc as long as your are actually using the right number of parameters (bug #52562)
+- added public MySqlHelper.ExecuteDataReader method that takes an external connection (bug #54570)
 
 Version 6.2.3
 - fixed InvalidOperationException when accessing Stream.ReadTimeout or Stream.WriteTimeout on CF

=== modified file 'MySql.Data/Provider/Source/MySqlHelper.cs'
--- a/MySql.Data/Provider/Source/MySqlHelper.cs	2009-11-10 22:37:01 +0000
+++ b/MySql.Data/Provider/Source/MySqlHelper.cs	2010-06-25 17:41:42 +0000
@@ -263,6 +263,18 @@
 			return ExecuteReader(connectionString, commandText, (MySqlParameter[])null);
 		}
 
+        /// <summary>
+        /// Executes a single command against a MySQL database.
+        /// </summary>
+        /// <param name="connection"><see cref="MySqlConnection"/> object to use for the command</param>
+        /// <param name="commandText">Command text to use</param>
+        /// <returns><see cref="MySqlDataReader"/> object ready to read the results of the command</returns>
+        public static MySqlDataReader ExecuteReader(MySqlConnection connection, string commandText)
+        {
+            //pass through the call providing null for the set of SqlParameters
+            return ExecuteReader(connection, null, commandText, (MySqlParameter[])null, true);
+        }
+
 		/// <summary>
 		/// Executes a single command against a MySQL database.
 		/// </summary>


Attachment: [text/bzr-bundle] bzr/reggie.burnett@oracle.com-20100625174350-5tx72711garzgioa.bundle
Thread
bzr commit into connector-net-6.2 branch (reggie.burnett:863) Reggie Burnett25 Jun