オリジナル版:http://lists.mysql.com/dotnet/1352
MySQL用の全てが管理された.NETドライバの新バージョンであるMySQL Connector/Net 5.2.7がリリースされました。MySQL Connector/Net 5.2.7は安定版であり、本番環境での使用に適しています。変更ログを精査することを強くお勧めします。
本リリースでは多くの修正が行なわれたので、変更ログを精査し、気になるバグが修正されたかどうか確認してください。本バージョンは、MySQL 4.1以降の全てのバージョンを公式にサポートしています。
MySQL Connector/Net 5.2.7は、http://dev.mysql.com/downloads/connector/net/5.2.htmlおよびミラーサイトから、ソースコード及びバイナリで現在利用可能です。
すべてのミラーサイトが現在、最新であるとは限らないことに注意してください。
あるミラーサイトで本バージョンを見つけることができない場合は、再度確認を行うか、あるいは別のダウンロード・サイトを選択してください。
以下は5.26以降の修正事項です。
- fixed procedure parameters collection so that an exception is thrown
if we can't get the parameters. Also used this to optimize the
procedure cache optimization
- Added "nvarchar" and "nchar" to possible data types returned by the
DataSourceInformation schema collection so procs that use those types
with parameters will work (bug #39409)
- fixed problem where the connector would incorrectly report the length
of utf8 columns on servers 6.0 and later. This was caused by 6.0 now
using 4 bytes for utf8 columns
- fixed bug in role provider that was causing it to not correctly fetch
the application id which caused it to incorrectly report roles (bug #44414)
- fixed Visual Studio 2005 solution so that it builds
- fixed potential endless loop in CompressedStream in case where end of
stream occurs before packet is fully read (bug #43678)
- fixed ReservedWords schema collection to not incorrectly include blank
words and to use the right column name
- fixed display of trigger names
- restructured the connection open error handling so that socket
exceptions come through as the inner exception (bug #45021)
- added workaround for an apparent problem with WeakReferences and
threads in the mono runtime (bug #45463)
- removed our homebrew implemenation of CompilerGeneratedAttribute as it
was interfering with the compiler in VS2005 (bug #42261)
- fix small bug in SchemaManager that would prevent the schema from
being updated if the autogenerateschema option was given in anything
but lower case
- applied performance improvement to MySqlHelper.EscapeString (thanks
Franco!) (bug #45699)
- we are now throwing an exception if the default connection encoding
can't be created. This shouldn't happen but we saw one report that may
have been this. (bug #45589)
- integrated user supplied patch that provides some additional debugging
into in the case of a DNS error
- fixed problem where failing ExecuteReader with CommandBehavior set to
SchemaOnly leaves connection in a bad state, limiting number of rows
for each subsequent query to 0 (bug #30518)
- added null check in TimeoutExpired handler. This should not ever
happen but it apparently is in some cases (bug # 40005)
- fixed sql injection bug (bug #45941)