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

Fix plugin directory in the config file #235

Merged
merged 1 commit into from
Apr 10, 2024

Conversation

hhorak
Copy link
Member

@hhorak hhorak commented Apr 5, 2024

Attempt to install the plugin currently fails with:

$ echo "INSTALL PLUGIN sql_errlog SONAME 'sql_errlog';" | mysql -uroot
ERROR 1126 (HY000) at line 1: Can't open shared library '/usr/lib64/mysql/plugin/sql_errlog.so' (errno: 11, cannot open shared object file: No such file or directory)

It's not clear to me whether this file with path spec is still needed at all, especially in versions that do not have a build for SCL (if it was added for that reason at all). Maybe this base.cnf might be removed, but I didn't do proper analysis to be able to say that it's possible. So, applying minimal patch meanwhile.

@FaramosCZ found this issue, thanks for that.

@hhorak
Copy link
Member Author

hhorak commented Apr 5, 2024

A regression test for this plugin issue is added in #234.

@hhorak
Copy link
Member Author

hhorak commented Apr 5, 2024

[test]

Attempt to install the plugin currently fails with:

$ echo "INSTALL PLUGIN sql_errlog SONAME 'sql_errlog';" | mysql -uroot
ERROR 1126 (HY000) at line 1: Can't open shared library '/usr/lib64/mysql/plugin/sql_errlog.so' (errno: 11, cannot open shared object file: No such file or directory)

It's not clear to me whether this file with path spec is still needed at all, especially in versions that do not have a build for SCL (if it was added for that reason at all). Maybe this base.cnf might be removed, but I didn't do proper analysis to be able to say that it's possible. So, applying minimal patch meanwhile.
@hhorak
Copy link
Member Author

hhorak commented Apr 5, 2024

[test]

@hhorak
Copy link
Member Author

hhorak commented Apr 8, 2024

@FaramosCZ, as you've discovered this issue, please, review and ack if the fix looks sane to you.

Copy link
Member

@phracek phracek left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. But w/o background. Tests passed

@pkubatrh pkubatrh merged commit 05f6915 into sclorg:master Apr 10, 2024
12 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.

3 participants