Commit 8ed01f83 authored by unknown's avatar unknown

Merge bk-internal.mysql.com:/home/bk/mysql-5.1-runtime

into  bodhi.(none):/opt/local/work/mysql-5.1-runtime

parents 2a7d2030 20b9d9bb
...@@ -131,7 +131,7 @@ set global general_log=ON; ...@@ -131,7 +131,7 @@ set global general_log=ON;
set global log_output=default; set global log_output=default;
show variables like 'log_output'; show variables like 'log_output';
Variable_name Value Variable_name Value
log_output TABLE log_output FILE
set global general_log=OFF; set global general_log=OFF;
set global log_output=FILE; set global log_output=FILE;
truncate table mysql.general_log; truncate table mysql.general_log;
......
...@@ -2220,9 +2220,9 @@ void sys_var_log_output::set_default(THD *thd, enum_var_type type) ...@@ -2220,9 +2220,9 @@ void sys_var_log_output::set_default(THD *thd, enum_var_type type)
{ {
pthread_mutex_lock(&LOCK_global_system_variables); pthread_mutex_lock(&LOCK_global_system_variables);
logger.lock(); logger.lock();
logger.init_slow_log(LOG_TABLE); logger.init_slow_log(LOG_FILE);
logger.init_general_log(LOG_TABLE); logger.init_general_log(LOG_FILE);
*value= LOG_TABLE; *value= LOG_FILE;
logger.unlock(); logger.unlock();
pthread_mutex_unlock(&LOCK_global_system_variables); pthread_mutex_unlock(&LOCK_global_system_variables);
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment