MySQL Connector/Net Release Notes  /  Changes in MySQL Connector/Net 6.1  /  Changes in MySQL Connector/Net 6.1.2 (2009-09-08, General Availability)

Changes in MySQL Connector/Net 6.1.2 (2009-09-08, General Availability)

This is the first GA release of 6.1. This release fixes bugs since 6.1.1.

Bugs Fixed

  • The MySQL Connector/Net Session State Provider truncated session data to 64KB, due to its column types being set to BLOB. (Bug #47339)

  • MySQL Connector/Net generated the following exception when using the Session State provider:

    You have an error in your SQL syntax; check the manual that corresponds to your MySQL
    server version for the right syntax to use near 'MINUTEWHERE SessionId =
    'dtmgga55x35oi255nrfrxe45' AND ApplicationId = 1 AND Loc' at line 1
    Description: An unhandled exception occurred during the execution of the current web
    request. Please review the stack trace for more information about the error and where it
    originated in the code.
    
    Exception Details: MySql.Data.MySqlClient.MySqlException: You have an error in your SQL
    syntax; check the manual that corresponds to your MySQL server version for the right
    syntax to use near 'MINUTEWHERE SessionId = 'dtmgga55x35oi255nrfrxe45' AND ApplicationId =
    1 AND Loc' at line 1
    

    (Bug #46939)

  • If an error occurred during connection to a MySQL Server, deserializing the error message from the packet buffer caused a NullReferenceException to be thrown. When the method MySqlPacket::ReadString() attempted to retrieve the error message, the following line of code threw the exception:

    string s = encoding.GetString(bits, (int)buffer.Position, end - (int)buffer.Position);
    

    This was due to the fact that the encoding field had not been initialized correctly. (Bug #46844)

  • Input parameters were missing from Stored Procedures when using them with ADO.NET Data Entities. (Bug #44985)

  • MySQL Connector/Net did not time out correctly. The command timeout was set to 30 secs, but MySQL Connector/Net hung for several hours. (Bug #43761)