summaryrefslogtreecommitdiff
path: root/include/mysql/services.h
diff options
context:
space:
mode:
authorAlexey Botchkov <holyfoot@askmonty.org>2012-03-14 00:55:56 +0400
committerAlexey Botchkov <holyfoot@askmonty.org>2012-03-14 00:55:56 +0400
commit07a82c58a7306bd8ef889dd912cdc437a9f83a89 (patch)
treeedd7edc02e96ad32d8f7d8d5137db548562be16e /include/mysql/services.h
parent92f31d8070738206c5b64d3ab5cc9a0cb05c56fa (diff)
downloadmariadb-git-07a82c58a7306bd8ef889dd912cdc437a9f83a89.tar.gz
MDEV-15 Log all SQL errors.
Added the logger service that provides us with the rotating logs. The plugin SQL_ERROR_LOG added. It logs the errors using the 'logger service' for the rotating log files. the example record from the log: 2012-03-09 15:07:29 root[root] @ localhost [] ERROR 1146: Table 'test.xyz' doesn't exist : select * from test.xyz
Diffstat (limited to 'include/mysql/services.h')
-rw-r--r--include/mysql/services.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/mysql/services.h b/include/mysql/services.h
index eca0e88c8da..258f7b90658 100644
--- a/include/mysql/services.h
+++ b/include/mysql/services.h
@@ -23,6 +23,8 @@ extern "C" {
#include <mysql/service_thd_wait.h>
#include <mysql/service_thread_scheduler.h>
#include <mysql/service_progress_report.h>
+#include <mysql/service_logger.h>
+
#ifdef __cplusplus
}