Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WIP: Backport 0.4.x MySQL 8 Fixes to 0.3.x #935

Open
wants to merge 23 commits into
base: 0.3.x
Choose a base branch
from

Commits on Apr 25, 2019

  1. Configuration menu
    Copy the full SHA
    9589643 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    93d3240 View commit details
    Browse the repository at this point in the history
  3. Fix broken spec due to EXPLAIN EXTENDED on MySQL 8

    The behavior that used to be triggered by EXPLAIN EXTENDED has been the
    default for a long time and the previously deprecated EXTENDED keyword
    was finally removed in MySQL 8.0.
    
    To avoid breaking the spec on very old MySQL versions we just catch the
    SQL syntax error and retry without the EXTENDED keyword.
    felixbuenemann committed Apr 25, 2019
    Configuration menu
    Copy the full SHA
    2325197 View commit details
    Browse the repository at this point in the history
  4. Fix SSL specs permission problem

    The specs could fail if the /etc/mysql directory contained files that
    cannot be read by the user running the specs, eg. debian.cnf.
    
    Since we already specify :sslca, the :sslcapath option doesn't make any
    sense and can stay at the system default value.
    felixbuenemann committed Apr 25, 2019
    Configuration menu
    Copy the full SHA
    15fbd85 View commit details
    Browse the repository at this point in the history
  5. Revert to precise on travis to fix mariadb install

    The default dist is currently trusty, so the travis install scripts that
    imply the old default of precise no longer work properly.
    
    A better solution would be to update to the trusty (unsupported) or
    xenial (supported) environment, but this should be the most minimal
    change to restore the previous CI behavior.
    felixbuenemann committed Apr 25, 2019
    Configuration menu
    Copy the full SHA
    06a4344 View commit details
    Browse the repository at this point in the history
  6. Revert "Pin to an older Rubygems gem on Travis"

    This reverts commit d572951 because
    Travis CI updates rubygems with important security fixes.
    felixbuenemann committed Apr 25, 2019
    Configuration menu
    Copy the full SHA
    384e487 View commit details
    Browse the repository at this point in the history
  7. Use fuzzy ruby-2.3 on Travis CI

    which should allow to use the preinstalled 2.3.3 version.
    felixbuenemann committed Apr 25, 2019
    Configuration menu
    Copy the full SHA
    6d75e08 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    0ff2f94 View commit details
    Browse the repository at this point in the history
  9. Remove rbx-2 from Travis CI build matrix

    because it can no longher be installed due to missing binaries.
    
    See: http://binaries.rubini.us/index.txt
    felixbuenemann committed Apr 25, 2019
    Configuration menu
    Copy the full SHA
    175ca86 View commit details
    Browse the repository at this point in the history
  10. Try to fix Travis CI macOS builds

    caused by failing bundler install during rvm use.
    
    Also the 2.3 version should be preinstalled.
    felixbuenemann committed Apr 25, 2019
    Configuration menu
    Copy the full SHA
    62c1ff9 View commit details
    Browse the repository at this point in the history
  11. Disable SSL tests for macOS on Travis CI

    because the specs require certs from .travis_ssl.sh installed in
    /etc/mysql which is inaccessible without root on macOS.
    
    A more involved fix would be to parameterize the paths in the specs and
    adapt the .travis_ssl.sh script to work properly on macOS.
    felixbuenemann committed Apr 25, 2019
    Configuration menu
    Copy the full SHA
    757c78f View commit details
    Browse the repository at this point in the history

Commits on Apr 26, 2019

  1. Configuration menu
    Copy the full SHA
    1e2372c View commit details
    Browse the repository at this point in the history
  2. Fix SSL client specs with MySQL 5.7

    The latest MySQL 5.7 versions ingore SSL options, if connecting over a
    UNIX socket and ssl-mode=REQUIRED/VERIFY_CA/VERIFY_IDENTITY is not set.
    
    Since the :ssl_mode option is not implemented in 0.3, the easierst
    workaround is to force connection over TCP by using the loopback IP.
    felixbuenemann committed Apr 26, 2019
    Configuration menu
    Copy the full SHA
    5d18e3a View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    71dc501 View commit details
    Browse the repository at this point in the history
  4. Disable yaSSL valid before minute hack on Travis

    It appears that none of the tested MySQL versions require this anymore.
    felixbuenemann committed Apr 26, 2019
    Configuration menu
    Copy the full SHA
    3c2fda2 View commit details
    Browse the repository at this point in the history
  5. Disable socket_auth fo root on MySQL 5.7 on Travis

    This is required to allow password-less auth as root for the $USER.
    felixbuenemann committed Apr 26, 2019
    Configuration menu
    Copy the full SHA
    1a3e0d2 View commit details
    Browse the repository at this point in the history
  6. Warn about missing MySQL encoding mappings

    and fix bug, mapping them to "" instead of NULL.
    felixbuenemann committed Apr 26, 2019
    Configuration menu
    Copy the full SHA
    091e1d5 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    246013e View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    f7150f5 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    8956784 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    94b0498 View commit details
    Browse the repository at this point in the history
  11. Update Travis CI to Trusty / Test MySQL 8.0

    * Remove hardcoded dist names from scripts, reduce dependencies
    * Switch from deprecated precise to trusty dist
    * Update SSL script to force SHA1 for MySQL 5.5 w/yaSSL on Trusty
    * Update MySQL install script to support MySQL 5.6 & 8.0 install
    * Fix MariaDB downgrade 5.6 -> 5.5 on Trusty (remove old data dir)
    * Update MariaDB install script to use latest MariaDB 10.x (10.3)
    * Add DB=mysql8 to build matrix
    * Add DB=mysql55 to build matrix, since MySQL 5.6 is pre-installed
    felixbuenemann committed Apr 26, 2019
    Configuration menu
    Copy the full SHA
    cc7764b View commit details
    Browse the repository at this point in the history
  12. Speed up CI feedback by allowing ree failures

    and enabling fast finish, because compiling ree from source takes much
    longer than all other builds and errors in ree but not in 1.8.7 are
    highly unlikely.
    felixbuenemann committed Apr 26, 2019
    Configuration menu
    Copy the full SHA
    2966f64 View commit details
    Browse the repository at this point in the history