log_slow_verbosity set wrong in the code
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Percona Server moved to https://jira.percona.com/projects/PS |
Fix Released
|
Low
|
Stewart Smith | ||
5.5 |
Fix Released
|
Low
|
Stewart Smith |
Bug Description
Due to typo in the code, setting
log_slow_verbosity to profiling_
Here is the patch:
--- sql/sys_vars.cc 2012-04-24 15:18:38.787681521 +0530
+++ /tmp/sys_vars.cc 2012-04-24 15:19:52.275679681 +0530
@@ -3077,7 +3077,7 @@
const char* log_slow_
"microtime", "query_plan", "innodb",
- "profiling", "profling_
+ "profiling", "profiling_
"minimal", "standard", "full", 0
};
static ulonglong update_
Workaround (till bug is fixed):
set [global] log_slow_
Related branches
- Laurynas Biveinis (community): Approve
-
Diff: 12 lines (+1/-1)1 file modifiedPercona-Server/sql/sys_vars.cc (+1/-1)
The exact error you get without fix is
set log_slow_ verbosity= profiling_ use_getrusage; verbosity' can't be set to the value of 'profiling_ use_getrusage'
ERROR 1231 (42000): Variable 'log_slow_
set log_slow_ verbosity= profling_ use_getrusage;
Query OK, 0 rows affected (0.00 sec)