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

Use RegExp to detect installed MariaDB version #223

Merged
merged 2 commits into from
Sep 17, 2024

Conversation

fnwbr
Copy link
Contributor

@fnwbr fnwbr commented Sep 12, 2024

See the issue linked below for all related background information.

I figured out a regular expression that works for both of the example outputs I have outlined in the issue; it assumes that there's always a -MariaDB at the end of a substring that has the version number right in front of it.

I have only tested this with my setup, which is MariaDB 11.4 on Debian 12.

Related Issue

Fixes #222

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Chore (non-breaking change that does not add functionality or fix an issue)

@eRadical
Copy link
Collaborator

I believe we should merge this despite debian12 failing. As it is failing for a while.

@elcomtik || @mrlesmithjr - thoughts?

@eRadical eRadical self-assigned this Sep 17, 2024
@eRadical eRadical merged commit 84e1fe1 into mrlesmithjr:master Sep 17, 2024
8 of 9 checks passed
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

Successfully merging this pull request may close these issues.

Version check fails for MariaDB 11.4 on Debian 12
3 participants