Skip to content

Correct MariaDB runtime library verison check #1406

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

Merged
merged 1 commit into from
Jul 29, 2025

Conversation

grooverdan
Copy link
Contributor

The MariaDB C/C version used by mysql_get_client_info() version is different from the server version exposed as MARIADB_CLIENT_VERSION_STR. The correct C/C version will be MARIADB_PACKAGE_VERSION.

Fixes #1391.

The MariaDB C/C version used by mysql_get_client_info()
version is different from the server version exposed as
MARIADB_CLIENT_VERSION_STR. The correct C/C version
will be MARIADB_PACKAGE_VERSION.

Fixes brianmario#1391.
@sodabrew
Copy link
Collaborator

Thank you!

@sodabrew
Copy link
Collaborator

I just restarted all of the CI jobs, looks like a GitHub failure

@grooverdan
Copy link
Contributor Author

Is that still the case (GitHub failure)? Or is some assistance required?

@sodabrew
Copy link
Collaborator

Link to the upstream ticket for reference https://jira.mariadb.org/browse/CONC-282

GitHub Actions were kind of a mess for their own reasons, but this does appear to be passing for the MariaDB builds. Unclear exactly if there's test coverage that exercises the MariaDB Connector/C library. An improvement for another PR.

@sodabrew sodabrew merged commit b63d2e8 into brianmario:master Jul 29, 2025
38 of 76 checks passed
@grooverdan grooverdan deleted the mariadb_c_c_fix branch July 29, 2025 01:58
@grooverdan
Copy link
Contributor Author

If you do see something incompatible that needs investigating feel free to ping me or a JIRA issue.

So can close #1348 and #1313 too now?

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.

Incorrect MySQL client library version! This gem was compiled for 10.8.8 but the client library is 3.4.3. (Ruby on Rails - MySQL)
2 participants