diff options
author | Alexey Botchkov <holyfoot@askmonty.org> | 2012-03-14 16:37:49 +0400 |
---|---|---|
committer | Alexey Botchkov <holyfoot@askmonty.org> | 2012-03-14 16:37:49 +0400 |
commit | e3e2b4e1d15400f8fceb1ea3aa1b2ce1b4897477 (patch) | |
tree | 9883fc54b95bfc3a464aa7142a34c49e366e7c3d /include/mysql/service_logger.h | |
parent | 620d62ac3e74f3e707d3d3745c8172df0989754c (diff) | |
download | mariadb-git-e3e2b4e1d15400f8fceb1ea3aa1b2ce1b4897477.tar.gz |
MDEV-15 Log SQL errors.
mysys/my_logger.c was moved to sql/sql_logger.c
Logger service was rewritten with file functions instead of stream, so it
can handle huge files.
Diffstat (limited to 'include/mysql/service_logger.h')
-rw-r--r-- | include/mysql/service_logger.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/mysql/service_logger.h b/include/mysql/service_logger.h index 315c382791e..47a478ef5b4 100644 --- a/include/mysql/service_logger.h +++ b/include/mysql/service_logger.h @@ -61,7 +61,7 @@ typedef struct logger_handle_st LOGGER_HANDLE; extern struct logger_service_st { LOGGER_HANDLE* (*open)(const char *path, - unsigned long size_limit, + unsigned long long size_limit, unsigned int rotations); int (*close)(LOGGER_HANDLE *log); int (*vprintf)(LOGGER_HANDLE *log, const char *fmt, va_list argptr); @@ -81,7 +81,7 @@ extern struct logger_service_st { #else LOGGER_HANDLE *logger_open(const char *path, - unsigned long size_limit, + unsigned long long size_limit, unsigned int rotations); int logger_close(LOGGER_HANDLE *log); int logger_vprintf(LOGGER_HANDLE *log, const char *fmt, va_list argptr); |