Third GA release. Fixes bugs since 6.3.5.
Functionality added or changed:
Changed how the procedure schema collection is retrieved. If the connection string contains “
use procedure bodies=true” then aSELECTis performed on themysql.proctable directly, as this is up to 50 times faster than the current Information Schema implementation. If the connection string contains “use procedure bodies=false”, then the Information Schema collection is queried. (Bug#36694)
Bugs fixed:
MembershipProviderdid not generate hashes correctly if the algorithm was keyed. The Key of the algorithm should have been set if theHashAlgorithmwasKeyedHashAlgorithm. (Bug#58906)Code introduced to fix Bug#54863 proved problematic on .NET version 3.5 and above. (Bug#58853)
The
MySqlTokenizercontained unnecessarySubstringandTrimcalls:string token = sql.Substring(startIndex, stopIndex - startIndex).Trim();
The variable
tokenwas not used anywhere in the code. (Bug#58757)MySqlCommand.ExecuteReader(CommandBehavior)threw aNullReferenceExceptionwhen 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 forBIGINTautoincrement columns. (Bug#58373)When attempting to create an ADO.NET Entity Data Model, MySQL connections were not available. (Bug#58278)
MySQL Connector/NET did not support the
utf8mb4character set. When attempting to connect toutf8mb4tables or columns, an exceptionKeyNotFoundExceptionwas generated. (Bug#58244)Installation of MySQL Connector/NET 6.3.5 failed. The error reported was:
MySQL Connector Net 6.3.5 Setup Wizard ended prematurely because of an error. Your system has not been modified.
When the tracing driver was used and a SQL statement was longer than 300 characters, an ArgumentOutOfRangeExcpetion occurred if the statement also contained a quoted character, and the 300th character was in the middle of a quoted token. (Bug#57641)
Calling the
Read()method on aDataReaderobtained fromMySqlHelper.ExecuteReadergenerated the following exception:Unhandled Exception: MySql.Data.MySqlClient.MySqlException: Invalid attempt to R ead when reader is closed. at MySql.Data.MySqlClient.MySqlDataReader.Read() at MySqlTest.MainClass.Main(String[] args)
Default values returned for text columns were not quoted. This meant that the
COLUMN_DEFAULTfield of theGetSchemacolumns collection did not return a valid SQL expression. (Bug#56509)When using MySQL Connector/NET on Mono 2.8 using .NET 4.0, attempting to connect to a MySQL database generated the following exception:
Unhandled Exception: System.MissingMethodException: Method not found: 'System.Data.Common.DbConnection.EnlistTransaction'. at (wrapper remoting-invoke-with-check) MySql.Data.MySqlClient.MySqlConnection:Open ()
MySQL Connector/NET for .NET/Mono attempted to dynamically load the assembly
Mono.Posix.dllwhen 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.dllassembly 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)