Skip to content

Conversation

Andersson007
Copy link
Collaborator

SUMMARY

Fixes #478

ISSUE TYPE
  • Feature Pull Request

@Andersson007
Copy link
Collaborator Author

@janggwan-im i created this PR to add the feature you need.
Do you have time to test this? Here's the short guide.
I think it's safe to merge it w/o manual testing as i added a couple of integration tests but i'd like to be sure this will solve your issue

Copy link
Contributor

@russoz russoz left a comment

Choose a reason for hiding this comment

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

Tiny nit pick, other than that LGTM

Co-authored-by: Alexei Znamensky <103110+russoz@users.noreply.github.com>
@Andersson007 Andersson007 merged commit 930a5a5 into ansible-collections:main Jan 24, 2023
@Andersson007
Copy link
Collaborator Author

@russoz thanks for reviewing!

burnison added a commit to burnison/community.mysql that referenced this pull request Sep 9, 2025
This commit adds a `session_vars` dict to the `mysql_query` plugin,
similar to that done in ansible-collections#489. While this could also be done by using a
list of queries, having a dictionary allows for a cleaner query,
reusability (via merge key), and a more consistent experience when using
different plugins (like `mysql_user`, which supports `session_vars`).
laurent-indermuehle pushed a commit that referenced this pull request Sep 12, 2025
This commit adds a `session_vars` dict to the `mysql_query` plugin,
similar to that done in #489. While this could also be done by using a
list of queries, having a dictionary allows for a cleaner query,
reusability (via merge key), and a more consistent experience when using
different plugins (like `mysql_user`, which supports `session_vars`).
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.

Support the session variable wsrep_on = off for the Galera cluster

2 participants