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

Fails to build on macOS Ventura when using MariaDB #791

Closed
carragom opened this issue Oct 2, 2023 · 2 comments · Fixed by #813
Closed

Fails to build on macOS Ventura when using MariaDB #791

carragom opened this issue Oct 2, 2023 · 2 comments · Fixed by #813
Assignees
Labels

Comments

@carragom
Copy link
Contributor

carragom commented Oct 2, 2023

Hi,

When using brew package mariadb in macOS Sqitch fails to compile. For some reason the result of mysql --version is slightly different from Linux and probably other Unixes.

Here is the output of mysql --version on Debian 12

mysql  Ver 15.1 Distrib 10.11.3-MariaDB, for debian-linux-gnu (x86_64) using  EditLine wrapper

Here is the output of mysql --version on macOS Ventura

mysql from 11.1.2-MariaDB, client 15.2 for osx10.18 (x86_64) using  EditLine wrapper

Due to this difference this line returns undef and the same problem can be found here.

I might be able to provide a PR for this.

@theory
Copy link
Collaborator

theory commented Oct 2, 2023

Good grief.

@theory
Copy link
Collaborator

theory commented Oct 2, 2023

/(?:Ver|client)\s+(\S+)/ perhaps.

@theory theory mentioned this issue Feb 4, 2024
@theory theory self-assigned this Feb 4, 2024
@theory theory added the bug label Feb 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants