From 92265da9d77bc750eb234cfac9d6239675078983 Mon Sep 17 00:00:00 2001 From: Alexey Botchkov Date: Mon, 9 Sep 2013 16:56:35 +0500 Subject: MDEV-4472 Audit-plugin. Server-related part of the task. file_logger became the service. Data like query_id now are sent to the audit plugin. Fix for MDEV-4770 ported from 10.0. Fix added for the read_maria_plugin_info(). Log rotation can be disabled with 'set rotations=0'. --- plugin/sql_errlog/sql_errlog.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'plugin/sql_errlog/sql_errlog.c') diff --git a/plugin/sql_errlog/sql_errlog.c b/plugin/sql_errlog/sql_errlog.c index ce383916621..ae21a032479 100644 --- a/plugin/sql_errlog/sql_errlog.c +++ b/plugin/sql_errlog/sql_errlog.c @@ -16,7 +16,7 @@ #include #include #include -#include "service_logger.h" +#include /* Disable __attribute__() on non-gcc compilers. @@ -106,7 +106,7 @@ static void log_sql_errors(MYSQL_THD thd __attribute__((unused)), static int sql_error_log_init(void *p __attribute__((unused))) { - init_logger_mutexes(); + logger_init_mutexes(); logfile= logger_open(filename, size_limit, rotations); if (logfile == NULL) { -- cgit v1.2.1