13.7 Changes in MySQL Connector/Net 6.1.1 (2009-08-20, Beta)

This is the first Beta release of 6.1.

Bugs Fixed

In the MySqlDataReader class the
GetSByte function returned a
byte value instead of an
sbyte value.
(Bug #46620)

The MySQL Connector/Net Profile Provider,
MySql.Web.Profile.MySQLProfileProvider,
generated an error when running on Mono. When an attempt was
made to save a string in Profile.Name the
string was not saved to the
my_aspnet_Profiles table. If an attempt was
made to force the save with Profile.Save()
the following error was generated:

An exception was generated when using
TIMESTAMP columns with the Entity Framework.
(Bug #46311)

MySQL Connector/Net sometimes hung, without generating an exception. This
happened if a read from a stream failed returning a 0, causing
the code in LoadPacket() to enter an infinite
loop.
(Bug #46308)

When using MySQL Connector/Net 6.0.4 and a MySQL Server 4.1 an exception was
generated when trying to execute:

connection.GetSchema("Columns", ...);

The exception generated was:

'connection.GetSchema("Columns")' threw an exception of type
'System.ArgumentException'System.Data.DataTable {System.ArgumentException}
base{"Input string was not in a correct format.Couldn't store <'Select'> in
NUMERIC_PRECISION Column. Expected type is UInt64."}System.Exception
{System.ArgumentException}

(Bug #46270)

The MySQL Connector/Net method
StoredProcedure.GetParameters(string) ignored
the programmer's setting of the
UseProcedureBodies option. This broke any
application for which the application's parameter names did not
match the parameter names in the Stored Procedure, resulting in
an ArgumentException with the message
“Parameter 'foo' not found in the collection.” and
the following stack trace:

There is a problem with this Windows Installer package. A DLL required for this
install to complete could not be run. Contact your support personnel or package vendor.

When OK was clicked to acknowledge the
error the installer exited.
(Bug #45474)

Calling the Entity Framework SaveChanges()
method of any MySQL ORM Entity with a column type
TIME, generated an error message:

Unknown PrimitiveKind Time

(Bug #45457)

Insert into two tables failed when using the Entity Framework.
The exception generated was:

The value given is not an instance of type 'Edm.Int32'

(Bug #45077)

Errors occurred when using the Entity Framework with cultures
that used a comma as the decimal separator. This was because the
formatting for SINGLE,
DOUBLE and DECIMAL values
was not handled correctly.
(Bug #44455)

When attempting to connect to MySQL using the Compact Framework
version of MySQL Connector/Net, an
IndexOutOfRangeException exception was
generated on trying to open the connection.
(Bug #43736)

When reading data, such as with a
MySqlDataAdapter on a
MySqlConnection, MySQL Connector/Net could potentially
enter an infinite loop in
CompressedStream.ReadNextpacket() if
compression was enabled.
(Bug #43678)

An error occurred when building MySQL Connector/Net from source code checked
out from the public SVN repository. This happened on Linux using
Mono and Nant. The Mono JIT compiler version was 1.2.6.0. The
Nant version was 0.85.

When an attempt was made to build (for example) the MySQL Connector/Net 5.2
branch using the command:

In the case of long network inactivity, especially when
connection pooling was used, connections were sometimes dropped,
for example, by firewalls.

Note: The bugfix introduced a new keepalive
parameter, which prevents disconnects by sending an empty TCP
packet after a specified timeout.
(Bug #40684)

Calling a Stored Procedure with an output parameter through
MySQL Connector/Net resulted in a memory leak. Calling the same Stored
Procedure without an output parameter did not result in a memory
leak.
(Bug #36027)