summaryrefslogtreecommitdiff
path: root/sql/mysqld.cc
diff options
context:
space:
mode:
authorAlexey Botchkov <holyfoot@askmonty.org>2012-03-24 11:24:20 +0100
committerAlexey Botchkov <holyfoot@askmonty.org>2012-03-24 11:24:20 +0100
commit5c01f1ac1498a9b32bdccb817cdbc0b3ca3687d6 (patch)
treefe8eb54f1eaff9a41fe617b35356f5bd3e35746b /sql/mysqld.cc
parent619f67b1b4694add244377a0cb2507a035ebd306 (diff)
downloadmariadb-git-5c01f1ac1498a9b32bdccb817cdbc0b3ca3687d6.tar.gz
MDEV-15 Log all sql errors.
modified for MySQL 5.5. Logger service moved to the plugin/sql_errlog directory to be properly used later. plugin/sql_errlog/sql_errlog.c: Fixes for bugs #956427 (SQL_ERROR_LOG plugin produces bogus warnings about sql-error-log-size-limit value) and #956463 (Server crashes if SQL_ERROR_LOG fails to initialize) they're also MDEV-184 and MDEV-183 The sql_error_log_deinit() should be prepared for the logger_file to be NULL. The logger_file_size_limit upper limit wasn't properly set.
Diffstat (limited to 'sql/mysqld.cc')
-rw-r--r--sql/mysqld.cc3
1 files changed, 0 insertions, 3 deletions
diff --git a/sql/mysqld.cc b/sql/mysqld.cc
index 21653e96854..a73177f9fea 100644
--- a/sql/mysqld.cc
+++ b/sql/mysqld.cc
@@ -748,7 +748,6 @@ PSI_mutex_key key_LOCK_stats,
key_LOCK_wakeup_ready;
PSI_mutex_key key_LOCK_prepare_ordered, key_LOCK_commit_ordered;
-PSI_mutex_key key_LOCK_logger_service;
static PSI_mutex_info all_server_mutexes[]=
{
@@ -808,8 +807,6 @@ static PSI_mutex_info all_server_mutexes[]=
{ &key_LOCK_commit_ordered, "LOCK_commit_ordered", PSI_FLAG_GLOBAL},
{ &key_LOG_INFO_lock, "LOG_INFO::lock", 0},
{ &key_LOCK_thread_count, "LOCK_thread_count", PSI_FLAG_GLOBAL},
- { &key_LOCK_logger_service, "logger_service_file_st::lock",
- PSI_FLAG_GLOBAL},
{ &key_PARTITION_LOCK_auto_inc, "HA_DATA_PARTITION::LOCK_auto_inc", 0}
};