Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
mariadb
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
mariadb
Commits
7f856f0a
Commit
7f856f0a
authored
Nov 21, 2014
by
Sergei Golubchik
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
remove unsupported service file
parent
4027e3b8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
64 deletions
+0
-64
include/mysql/service_my_plugin_log.h
include/mysql/service_my_plugin_log.h
+0
-64
No files found.
include/mysql/service_my_plugin_log.h
deleted
100644 → 0
View file @
4027e3b8
/* Copyright (c) 2011, Oracle and/or its affiliates. All rights reserved.
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License as
published by the Free Software Foundation; version 2 of the
License.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */
/**
@file
This service provides functions to report error conditions and log to
mysql error log.
*/
#ifndef MYSQL_SERVICE_MY_PLUGIN_LOG_INCLUDED
#define MYSQL_SERVICE_MY_PLUGIN_LOG_INCLUDED
#ifndef MYSQL_ABI_CHECK
#include <stdarg.h>
#endif
/* keep in sync with the loglevel enum in my_sys.h */
enum
plugin_log_level
{
MY_ERROR_LEVEL
,
MY_WARNING_LEVEL
,
MY_INFORMATION_LEVEL
};
#ifdef __cplusplus
extern
"C"
{
#endif
extern
struct
my_plugin_log_service
{
/** write a message to the log */
int
(
*
my_plugin_log_message
)(
MYSQL_PLUGIN
*
,
enum
plugin_log_level
,
const
char
*
,
...);
}
*
my_plugin_log_service
;
#ifdef MYSQL_DYNAMIC_PLUGIN
#define my_plugin_log_message my_plugin_log_service->my_plugin_log_message
#else
int
my_plugin_log_message
(
MYSQL_PLUGIN
*
plugin
,
enum
plugin_log_level
level
,
const
char
*
format
,
...);
#endif
#ifdef __cplusplus
}
#endif
#endif
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment