Make a way to set and view other user's variables
Bug #588854 reported by
Baron Schwartz
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Percona Server moved to https://jira.percona.com/projects/PS |
Triaged
|
Wishlist
|
Unassigned | ||
5.5 |
Triaged
|
Wishlist
|
Unassigned |
Bug Description
I don't like https:/
SHOW SESSION VARIABLES LIKE <variable> FOR <connection ID>;
SET SESSION <variable> = <value> FOR <connection ID>;
SET SESSION <variable> = <value> FOR ALL;
For example, this:
SET SESSION long_query_time=0 FOR ALL;
That would make it possible to remove use_global_
Changed in percona-server: | |
status: | New → Confirmed |
importance: | Undecided → Wishlist |
Changed in percona-server: | |
milestone: | 5.5-20beta → none |
Changed in percona-server: | |
assignee: | Alexey Kopytov (akopytov) → nobody |
To post a comment you must log in.
It might be even better to build this as a UDF that could be loaded without a new server. Example:
SELECT SET_VARIABLE( <THREAD_ ID>, <VARIABLE>, <VALUE>); ....... ....);
SELECT GET_VARIABLE(
If <THREAD_ID> is zero, then SET_VARIABLE() should set the variable for every thread.