summaryrefslogtreecommitdiff
path: root/mysys/file_logger.c
diff options
context:
space:
mode:
authorAlexey Botchkov <holyfoot@askmonty.org>2016-01-12 16:29:02 +0400
committerAlexey Botchkov <holyfoot@askmonty.org>2016-01-12 18:43:55 +0400
commitc9552533c962af885796c3189d714305d8fbf7cb (patch)
treeaf5361980808627624c51f8cb637008bf5a41373 /mysys/file_logger.c
parent5f48b61509e4bc0fcb4e679abe51a6fc2dbb6359 (diff)
downloadmariadb-git-c9552533c962af885796c3189d714305d8fbf7cb.tar.gz
MDEV-9106 Audit plugin compiled with MariaDB can't install on MySQL 5.7.
The audit API was seriously changed in MySQL 5.7. so we had to adapt the plugin's code to that.
Diffstat (limited to 'mysys/file_logger.c')
-rw-r--r--mysys/file_logger.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/mysys/file_logger.c b/mysys/file_logger.c
index 394b59f6378..b94cb705d3f 100644
--- a/mysys/file_logger.c
+++ b/mysys/file_logger.c
@@ -14,11 +14,13 @@
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */
+#ifndef FLOGGER_SKIP_INCLUDES
#include "my_global.h"
#include <my_sys.h>
#include <m_string.h>
#include <mysql/service_logger.h>
#include <my_pthread.h>
+#endif /*FLOGGER_SKIP_INCLUDES*/
#ifndef flogger_mutex_init
#define flogger_mutex_init(A,B,C) mysql_mutex_init(A,B,C)