Skip to content

0.4.1

Compare
Choose a tag to compare
@sodabrew sodabrew released this 02 Dec 20:59
· 434 commits to master since this release

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 and shutdown() 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.