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

Only run live MySQL tests on correct MySQL version #13

Open
preaction opened this issue Aug 24, 2017 · 1 comment
Open

Only run live MySQL tests on correct MySQL version #13

preaction opened this issue Aug 24, 2017 · 1 comment

Comments

@preaction
Copy link
Member

http://www.cpantesters.org/cpan/report/ada1c782-844e-11e7-a7c3-e1b61dee0349

We need a MySQL version that has the JSON field, so 5.7 or above. Without this, the tests will fail since it can't create the schema.

We need to detect the MySQL version (Test::mysqld should have a function for this), and skip the relevant tests if it's not a version we can support.

@lindleyw
Copy link

Also note that MariaDB as of at least 10.2.11 although JSON is included, does not yet support the ->> operator, also causing tests to fail. Mildly irksome is that Debian 9 only includes MariaDB as the only option by default..

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants