Functionality Added or Changed
Added Use Procedure Bodies connection string
option to enable calling procedures without using procedure
metadata.
Fixed problem with calling stored functions when a return parameter was not given.
Fixed problem with parameter name hashing where the hashes were not getting updated when parameters were removed from the collection.
Return parameters created with DeriveParameters now have the
name RETURN_VALUE.
Added MySqlParameterCollection.AddWithValue
and marked the Add(name, value) method as
obsolete.
Fixed problem that prevented use of
SchemaOnly or SingleRow
command behaviors with stored procedures or prepared statements.
Assembly now properly appears in the Visual Studio 2005 Add/Remove Reference dialog.
Reverted behavior that required parameter names to start with
the parameter marker. We apologize for this back and forth but
we mistakenly changed the behavior to not match what
SqlClient supports. We now support using
either syntax for adding parameters however we also respond
exactly like SqlClient in that if you ask for
the index of a parameter using a syntax different from when you
added the parameter, the result will be -1.
Bugs Fixed
Applications would crash when calling with
CommandType set to
StoredProcedure.
BINARY and
VARBINARY columns would be
returned as a string, not binary, data type.
(Bug #25605)
MySqlConnection throws an exception when
connecting to MySQL v4.1.7.
(Bug #25726)
Incorrect values/formats would be applied when the
OldSyntax connection string option was used.
(Bug #25950)
High CPU utilization would be experienced when there is no idle
connection waiting when using pooled connections through
MySqlPool.GetConnection.
(Bug #24373)
Opening a connection would be slow due to host name lookup. (Bug #26152)
The UpdateRowSource.FirstReturnedRecord
method does not work.
(Bug #25569)
When closing and then re-opening a connection to a database, the character set specification is lost. (Bug #25614)
Filling a table schema through a stored procedure triggers a runtime error. (Bug #25609)
Returned data types of a DataTypes collection
do not contain the right correct CLR data type.
(Bug #25907)
When connecting to a MySQL Server earlier than version 4.1, the connection would hang when reading data. (Bug #25458)
Registry would be incorrectly populated with installation locations. (Bug #25928)
MySqlConnection.GetSchema fails with
NullReferenceException for Foreign Keys.
(Bug #26660)
Times with negative values would be returned incorrectly. (Bug #25912)
MySQL Connector/Net would not compile properly when used with Mono 1.2. (Bug #24263)
MySQL Connector/Net would fail to install under Windows Vista. (Bug #26430)
Using ExecuteScalar() with more than one
query, where one query fails, will hang the connection.
(Bug #25443)
When a MySqlConversionException is raised on
a remote object, the client application would receive a
SerializationException instead.
(Bug #24957)
A critical ConnectionPool error would result
in repeated System.NullReferenceException.
(Bug #25603)
When connecting to a server, the return code from the connection could be zero, even though the host name was incorrect. (Bug #24802)
GetSchema and DataTypes
would throw an exception due to an incorrect table name.
(Bug #25906)
SELECT did not work correctly
when using a WHERE clause containing a UTF-8
string.
(Bug #25651)
