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 theHashAlgorithm
wasKeyedHashAlgorithm
. (Bug#58906)Code introduced to fix Bug#54863 proved problematic on .NET version 3.5 and above. (Bug#58853)
The
MySqlTokenizer
contained unnecessarySubstring
andTrim
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 aNullReferenceException
when being called withCommandBehavior.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 forBIGINT
autoincrement columns. (Bug#58373)MySQL Connector/NET did not support the
utf8mb4
character set. When attempting to connect toutf8mb4
tables or columns, an exceptionKeyNotFoundException
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 acceptingMySqlParameter
objects when using aMySqlConnection
. However,MySqlHelper
did include an overload forMySqlParameter
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 theGetSchema
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 theMono.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)