Skip to content

0.3.19

Compare
Choose a tag to compare
@sodabrew sodabrew released this 31 Jul 18:36
· 653 commits to master since this release

New Features

  • Mysql2::Client#info class method for easier debugging, and both the class and instance method return US_ASCII output rather than using the connection encoding.
  • When streaming results, continue result.count across calls to result.each

Bugfixes

  • Search for mariadb_config on compile
  • Update to Connector/C 6.1.6 in the Windows builds
  • Fix Mysql2::Client#escape to set the encoding even if the string was not modified
  • Fix LICENSE filename in gem file list
  • Make the result.count return type consistent and match the source type

Changes

  • Rename macro GetMysql2Result to GET_RESULT
  • Convert StringValuePtr to either RSTRING_PTR or StringValueCStr
  • Fix unused variable warning on Windows in rb_mysql_client_socket
  • Add Ruby 2.2 to the AppVeyor matrix
  • Test default client flag equality instead of bitwise truthiness
  • Add rake-compiler-dock for building Windows binary gems
  • Friendly ext build error <3
  • Process :stream option in rb_mysql_result_to_obj once instead of rb_mysql_result_each for each call to each
  • Tests for streaming and stored procedures with multiple result sets