An option modifier to make a given global variable have immediate effect on session vars
MySQL global/session variables work in a way that global variable changes affect only subsequently started sessions. There is no way for a global variable change to affect already running sessions. There are some use cases where such changes are desirable, thus "slow_query_
This implementation has the issue that it does not fit into MySQL variable framework well.
An alternative would be to implement another variable modifier (such as done for [3], [4]) that, applied to a global/session variable, specifies that the global value changes have effect on session variables immediatelly. For example, "immediate-": --immediate-
This comes at a cost of some flexibility. "slow_query_
[1] http://
[2] https:/
[3] http://
[4] https:/
Blueprint information
- Status:
- Not started
- Approver:
- Vadim Tkachenko
- Priority:
- Not
- Drafter:
- Laurynas Biveinis
- Direction:
- Needs approval
- Assignee:
- None
- Definition:
- Discussion
- Series goal:
- Accepted for 5.6
- Implementation:
- Unknown
- Milestone target:
- None
- Started by
- Completed by
Related branches
Related bugs
Sprints
Whiteboard
KAlexey: see also https:/
- It is indeed cleaner, what would be the effort estimate for it?
Vadim: I would like to keep at least compatibility with 5.5 in this case.
Work Items
Dependency tree
* Blueprints in grey have been implemented.