D.4.4.1. Changes in MySQL Connector/NET 6.1.6 (Not yet released GA)

This release fixes bugs since 6.1.5.

Bugs fixed:

  • MembershipProvider did not generate hashes correctly if the algorithm was keyed. The Key of the algorithm should have been set if the HashAlgorithm was KeyedHashAlgorithm. (Bug#58906)

  • Code introduced to fix Bug#54863 proved problematic on .NET version 3.5 and above. (Bug#58853)

  • The MySqlTokenizer contained unnecessary Substring and Trim calls:

    string token = sql.Substring(startIndex, stopIndex - startIndex).Trim();
    

    The variable token was not used anywhere in the code. (Bug#58757)

  • MySqlCommand.ExecuteReader(CommandBehavior) threw a NullReferenceException when being called with CommandBehavior.CloseConnection, if the SQL statement contained a syntax error, or contained invalid data such as an invalid column name. (Bug#58652)

  • ReadFieldLength() returned incorrect value for BIGINT autoincrement columns. (Bug#58373)

  • MySQL Connector/NET did not support the utf8mb4 character set. When attempting to connect to utf8mb4 tables or columns, an exception KeyNotFoundException was generated. (Bug#58244)

  • Setting MySqlCommand.CommandTimeout to 0 had no effect. It should have resulted in an infinite timeout. (Bug#57265)

  • When performing a row-by-row update, only the first row was updated and all other rows were ignored. (Bug#57092)

  • Setting the Default Command Timeout connection string option had no effect. (Bug#56806)

  • When an output parameter was declared as type MySqlDbType.Bit, it failed to return with the correct value. (Bug#56756)

  • MySqlHelper.ExecuteReader did not include an overload accepting MySqlParameter objects when using a MySqlConnection. However, MySqlHelper did include an overload for MySqlParameter objects when using a string object containing the connection string to the database. (Bug#56755)

  • Default values returned for text columns were not quoted. This meant that the COLUMN_DEFAULT field of the GetSchema columns collection did not return a valid SQL expression. (Bug#56509)

  • MySQL Connector/NET for .NET/Mono attempted to dynamically load the assembly Mono.Posix.dll when a Unix socket was used to connect to the server. This failed and the connector was not able to use a Unix socket unless the Mono.Posix.dll assembly was previously loaded by the program. (Bug#56410)

  • The ADO.NET Entity Data Model could not add stored procedures from MySQL Server 5.0.45 but worked fine using MySQL Server 5.1. (Bug#55349)

Copyright © 2010-2024 Platon Technologies, s.r.o.           Index | Man stránky | tLDP | Dokumenty | Utilitky | O projekte
Design by styleshout