Skip to content

mysqlctld: allow setting flags / env vars for mysqld#5730

Merged
morgo merged 2 commits intovitessio:masterfrom
neowulf:5466_mysqlctld
Jan 21, 2020
Merged

mysqlctld: allow setting flags / env vars for mysqld#5730
morgo merged 2 commits intovitessio:masterfrom
neowulf:5466_mysqlctld

Conversation

@neowulf
Copy link
Copy Markdown
Contributor

@neowulf neowulf commented Jan 17, 2020

Allow LD_PRELOAD to be added to the execution environment

Fixes #5466

The confirmation for the signoff prompt wasn't being processed.

Signed-off-by: Siva Kommuri <snv.kommuri@gmail.com>
* Build the LD_LIBRARY_PATH environment variable in a
new function
* Inherit LD_PRELOAD as an environment variable for all
mysql* commands

Signed-off-by: Siva Kommuri <snv.kommuri@gmail.com>
@morgo morgo self-requested a review January 18, 2020 00:03
@morgo
Copy link
Copy Markdown
Contributor

morgo commented Jan 20, 2020

@neowulf Cleanup is looking good.

We have a couple of options here: in the 5.0 release notes, vtMysqlRoot and vtroot are called out as deprecated. If you wait a week for 5.0 to branch, we can remove these options and rely exclusively on finding the binaries in the PATH. The other option is to leave it as-is, and (preferably) merge prior to this date.

@neowulf
Copy link
Copy Markdown
Contributor Author

neowulf commented Jan 20, 2020

Thank you for the quick feedback!

Sounds good! I can help clean up the lingering vt*root variables post 5.0.

@neowulf neowulf marked this pull request as ready for review January 20, 2020 22:10
@neowulf neowulf requested a review from sougou as a code owner January 20, 2020 22:10
@neowulf neowulf changed the title [DRAFT] mysqlctld: allow setting flags / env vars for mysqld mysqlctld: allow setting flags / env vars for mysqld Jan 20, 2020
Copy link
Copy Markdown
Contributor

@morgo morgo left a comment

Choose a reason for hiding this comment

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

LGTM

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.

mysqlctld: allow setting flags / env vars for mysqld

2 participants