Skip to content
/ server Public

MDEV-9247: Make default_master_connection settable globally#4630

Open
abhishek593 wants to merge 2 commits intoMariaDB:mainfrom
abhishek593:MDEV-9247
Open

MDEV-9247: Make default_master_connection settable globally#4630
abhishek593 wants to merge 2 commits intoMariaDB:mainfrom
abhishek593:MDEV-9247

Conversation

@abhishek593
Copy link

Change default_master_connection scope from SESSION_ONLY to SESSION_VAR. This allows the variable to be set globally, so that new connections automatically inherit the default master connection name.

Changes:

  • Updated scope macro in sql_vars.cc.
  • Added a new test in default_master_connection_basic.test and updated results of existing tests.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant