If dir_config returns [nil, nil] this will prevent trying to index into nil
Use mysql_config --include instead of --cflags
Merge pull request #402 from sodabrew/libdir_again

Handle dir_config returning nil, nil on Windows.
Merge pull request #409 from sodabrew/incflags_not_cflags

Use mysql_config --include instead of --cflags
Add secure_auth mysql_option()
Add secure_auth option description and ActiveRecord database.yml example to README.md
Avoid buffer overrun

When you connect to a very old (4.0.x) MySQL a field might have
chrsetnr of zero, which results in out-of-bounds access.  That
case you cannot assume any character sets so just mark them binary
and let programmers handle the situation.
Merge pull request #417 from ijcd/mysql_option_secure_auth

Add secure_auth mysql_option()
Merge pull request #418 from shyouhei/master

Avoid buffer overrun
Doc updates for secure_auth
Comment for missing field charset
Added clearer installation instructions for Windows users
fix warning: ensure to check unused variable
fix warning: ISO C90 forbids mixed declarations and code
fix deprecation warning: migrate rb_thread_blocking_region to rb_thread_call_without_gvl
fix some warnings with Ruby 1.8
Merge pull request #415 from tadd/fix-warning

Fix warning
Allow read connection defaults from custom default file and group. #262

For example:
@client = Mysql2::Client.new(:default_file => "/user/.my.cnf", :default_group => "client")
Merge pull request #410 from simi/mysql_read_default_file

Allow read connection defaults from custom default file and group.
Add docs for default_file and default_group