Permalink
Commits on Nov 14, 2017
  1. Bump version to 0.4.10

    sodabrew committed Nov 14, 2017
  2. Merge pull request #904 from sodabrew/better_specs

    sodabrew committed Nov 14, 2017
  3. Stash the mysql-build@oss.oracle.com key locally instead of calling p…

    sodabrew committed Nov 14, 2017
    …gp.mit.edu
  4. Test five significant figures of microseconds to reduce off-by-one-mi…

    sodabrew committed Nov 14, 2017
    …crosecond errors
  5. Merge pull request #903 from sodabrew/statement_specs_prepare

    sodabrew committed Nov 14, 2017
    Cast the BIT(1) type when :cast_booleans is true for prepared statements
  6. Fix server_info

    sodabrew committed Nov 14, 2017
  7. Fix rubocop

    sodabrew committed Nov 14, 2017
  8. Make sure ssl is enabled if only :sslverify is set (#889)

    rhafer committed with sodabrew Nov 14, 2017
    Previously, when "sslverify: false/true" was the only ssl related
    options passed to the constructor, the module skipped the call to
    "mysql_ssl_set". It seems however that for some variants for the mysql
    client libraries calling "mysql_ssl_set" is the only way to enable SSL
    for the client connections. (E.g. the libraries shipped as part of
    mariadb 10.1 still lack support for MYSQL_OPT_SSL_ENFORCE and
    MYSQL_OPT_SSL_MODE)
    
    This change allows enabling ssl with default values for all other
    options by just passing "sslverify: true" or "sslverify: false" to the
    constructor. (Depending on whether server certificate verification is
    wanted or not)
Commits on Nov 12, 2017
  1. Merge pull request #902 from sodabrew/remove_mysqld_error_h

    sodabrew committed Nov 12, 2017
    Include mysqld_error.h has been here for ages but was superfluous
  2. Use keyserver.ubuntu.com for the Percona key

    sodabrew committed Nov 12, 2017
  3. Include mysqld_error.h has been here for ages but was superfluous

    sodabrew committed Nov 12, 2017
  4. Merge pull request #901 from sodabrew/remove_mysql_com_h

    sodabrew committed Nov 12, 2017
  5. Check the server version instead of the client version of MySQL on OS…

    sodabrew committed Nov 12, 2017
    … X specs
Commits on Nov 11, 2017
  1. Merge pull request #900 from sodabrew/mariadb_version_again

    sodabrew committed Nov 11, 2017
    Get MariaDB versions working again
  2. Install MariaDB client headers after Travis CI fix for MariaDB 10.2 b…

    sodabrew committed Nov 11, 2017
    …roke earlier 10.x
  3. ifdef consistency

    sodabrew committed Nov 11, 2017
  4. More work towards MariaDB version string compatibility

    sodabrew committed Nov 11, 2017
    Revert the mysql_version.h include, and use MARIADB_CLIENT_VERSION_STR
    instead.
  5. extended keyword for the explain statement has been removed (#894)

    yahonda committed with sodabrew Nov 11, 2017
    https://dev.mysql.com/doc/relnotes/mysql/8.0/en/news-8-0-3.html
    > The deprecated EXTENDED and PARTITIONS keywords for the EXPLAIN statement have been removed. These keywords are unnecessary because their effect is always enabled.
    
    Attempting to drop a non-existent table produces warnings on all versions of MySQL.
  6. Return false on deprecated set secure auth

    sodabrew committed Nov 11, 2017
  7. MYSQL_SECURE_AUTH has been removed in MySQL 8.0.3 RC (#892)

    yahonda committed with sodabrew Nov 11, 2017
    https://dev.mysql.com/doc/relnotes/mysql/8.0/en/news-8-0-3.html#mysqld-8-0-3-capi
    > The deprecated secure_auth system variable and --secure-auth client option have been removed.
    > The MYSQL_SECURE_AUTH option for the mysql_options() C API function was removed.
Commits on Aug 23, 2017
  1. Switch from pending to skip because of rspec 3 changes

    sodabrew committed Aug 23, 2017
Commits on Aug 11, 2017
  1. Bump version to 0.4.9

    sodabrew committed Aug 11, 2017
Commits on Aug 8, 2017
  1. Prepared statements should handle booleans properly (#871)

    kamipo committed with sodabrew Aug 8, 2017
    Without this fix, booleans always be bound as `0.0` even if `true`.
    
    ```
    Failures:
    
      1) Mysql2::Statement should handle booleans
         Failure/Error: expect(result.to_a).to eq(['true' => 1, 'false' => 0])
    
           expected: [{"true"=>1, "false"=>0}]
                got: [{"true"=>0.0 (#<BigDecimal:7fc532889ba0,'0.0',9(18)>), "false"=>0.0 (#<BigDecimal:7fc532889a88,'0.0',9(18)>)}]
    
           (compared using ==)
    
           Diff:
           @@ -1,2 +1,3 @@
           -[{"true"=>1, "false"=>0}]
           +[{"true"=>0.0 (#<BigDecimal:7fc532889ba0,'0.0',9(18)>),
           +  "false"=>0.0 (#<BigDecimal:7fc532889a88,'0.0',9(18)>)}]
    
         # ./spec/mysql2/statement_spec.rb:67:in `block (2 levels) in <top (required)>'
    ```
Commits on Jul 11, 2017
  1. Update README section to discuss the special meaning of localhost

    sodabrew committed Jul 11, 2017
Commits on Jul 10, 2017
  1. Bump version to 0.4.8

    sodabrew committed Jul 10, 2017
Commits on Jul 6, 2017
  1. Merge pull request #867 from sodabrew/no-enable-cleartext-plugin

    sodabrew committed Jul 6, 2017
    Add ifdefs for MySQL 5.1 without MYSQL_ENABLE_CLEARTEXT_PLUGIN
Commits on Jul 4, 2017
  1. Travis CI add Percona MySQL 5.1 to the matrix

    sodabrew committed Jul 3, 2017