mirror of
https://github.com/MariaDB/server.git
synced 2025-01-29 10:14:19 +01:00
BUG#23225: Slow query log: setting slow_query_log_file writes to
wrong file After execution of SET GLOBAL SLOW_QUERY_LOG_FILE=...; slow query log data would go into the general log file. The problem was in the bogus cut-n-paste in the code. sql/set_var.cc: Fix cut-n-paste bug.
This commit is contained in:
parent
6560c2aa04
commit
8b302e3ab3
1 changed files with 1 additions and 1 deletions
|
@ -2617,7 +2617,7 @@ bool update_sys_var_str_path(THD *thd, sys_var_str *var_str,
|
|||
{
|
||||
switch (log_type) {
|
||||
case QUERY_LOG_SLOW:
|
||||
file_log->open_slow_log(sys_var_general_log_path.value);
|
||||
file_log->open_slow_log(sys_var_slow_log_path.value);
|
||||
break;
|
||||
case QUERY_LOG_GENERAL:
|
||||
file_log->open_query_log(sys_var_general_log_path.value);
|
||||
|
|
Loading…
Add table
Reference in a new issue