-
Notifications
You must be signed in to change notification settings - Fork 22
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
Check for the presence of the MySQL binaries before calling them #389
Check for the presence of the MySQL binaries before calling them #389
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi @gwolf
I haven't yet tested this (I don't have any environments without these on to test). I will run the automated tests again once the changes are made, but might also see if anyone else is able to test the negative conditions. Most changes are about using FALSE
instead of null
, and making the bee_message
strings translatable. Also a function docblock required.
Thank you
Use FALSE instead of null. Write a proper docblock for the introduced function.
Thanks! |
Aren\'t we a bit over-pedantic? 😉
All tests passed! \o/ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Sorry @gwolf - a bit more to do. After thinking about the name of the helper function, I've decided it would be better to go into includes/filesystem.inc
. There's also a few tweaks with the function doc bloc and variable names.
Change variable names to full words instead of abbr Rename introduced function to a more project-wide descriptive one Move introduced function to the filesystem includes
Thanks @gwolf - this is looking good. I tested the negative condition by temporarily changing the defined executable in the Thank you for your patience in getting this over the line. |
Fixes #388
Patch to verify for the presence of
mysql
andmysqldump
(andgunzip
, as it was in the same command construction) before actually calling it.Thanks!