summaryrefslogtreecommitdiff
path: root/sql/sql_plugin_services.h
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/sql_plugin_services.h
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/sql_plugin_services.h')
-rw-r--r--sql/sql_plugin_services.h9
1 files changed, 0 insertions, 9 deletions
diff --git a/sql/sql_plugin_services.h b/sql/sql_plugin_services.h
index bd6d136585a..e6302f6d345 100644
--- a/sql/sql_plugin_services.h
+++ b/sql/sql_plugin_services.h
@@ -54,14 +54,6 @@ static struct progress_report_service_st progress_report_handler= {
set_thd_proc_info
};
-static struct logger_service_st logger_handler= {
- logger_open,
- logger_close,
- logger_vprintf,
- logger_printf,
- logger_rotate
-};
-
static struct st_service_ref list_of_services[]=
{
{ "my_snprintf_service", VERSION_my_snprintf, &my_snprintf_handler },
@@ -69,6 +61,5 @@ static struct st_service_ref list_of_services[]=
{ "thd_wait_service", VERSION_thd_wait, &thd_wait_handler },
{ "my_thread_scheduler_service", VERSION_my_thread_scheduler, &my_thread_scheduler_handler },
{ "progress_report_service", VERSION_progress_report, &progress_report_handler },
- { "logger_service", VERSION_logger, &logger_handler },
};