0.4.1
版本发布时间: 2015-12-03 04:59:40
brianmario/mysql2最新发布版本:0.5.6(2024-02-16 01:19:00)
New Features
- Add methods Mysql2::Statement#last_id, Mysql2::Statement#affected_rows, Mysql2::Statement#close
Bug Fixes
- Only check compile-time libmysql version on Win32 platform.
- Also protect Mysql2::Statement#execute from Timeout.
- Handle different versions of TimeoutError vs. Timeout::ExitException.
Changes
- Send a
COM_QUIT
andshutdown()
the socket for explicit Mysql2::Client#close calls. - New method for raising Mysql2::Error with error_number and sql_state arguments.
- More cleanups for RuboCopy. Enforce RuboCop compliance on Travis.
- Use pre-generated SSL certificates rather than generating on the fly on Travis (tests run faster by up to 1 minute).
- Updates for RSpec 3.x preferred test style.
- Attempt to run Clang sanitizers on Travis CI.
- Move Mysql2::Client
@@default_query_options
into a class method.