Author: pd221994
Date: 2011-06-10 17:21:12 +0200 (Fri, 10 Jun 2011)
New Revision: 26488
Log:
r48836@dhcp-adc-twvpn-1-vpnpool-10-154-31-162: paul | 2011-06-10 10:08:28 -0500
Minor plugin API revisions
Modified:
svk:merge
trunk/refman-5.5/extending-mysql.xml
trunk/refman-5.6/extending-mysql.xml
Property changes on: trunk
___________________________________________________________________
Modified: svk:merge
===================================================================
Changed blocks: 0, Lines Added: 0, Lines Deleted: 0; 1277 bytes
Modified: trunk/refman-5.5/extending-mysql.xml
===================================================================
--- trunk/refman-5.5/extending-mysql.xml 2011-06-10 13:52:11 UTC (rev 26487)
+++ trunk/refman-5.5/extending-mysql.xml 2011-06-10 15:21:12 UTC (rev 26488)
Changed blocks: 3, Lines Added: 10, Lines Deleted: 9; 2098 bytes
@@ -4198,20 +4198,21 @@
</para>
<para>
- To write an audit plugin, include the following header files
- in the plugin source file. Other MySQL or general header files
+ To write an audit plugin, include the following header file in
+ the plugin source file. Other MySQL or general header files
might also be needed.
</para>
<programlisting>
-#include <mysql/plugin.h>
#include <mysql/plugin_audit.h>
</programlisting>
<para>
- <filename>plugin.h</filename> defines the
- <literal>MYSQL_AUDIT_PLUGIN</literal> server plugin type and
- the data structures needed to declare the plugin.
+ <filename>plugin_audit.h</filename> includes
+ <filename>plugin.h</filename>, so you need not include the
+ latter file explicitly. <filename>plugin.h</filename> defines
+ the <literal>MYSQL_AUDIT_PLUGIN</literal> server plugin type
+ and the data structures needed to declare the plugin.
<filename>plugin_audit.h</filename> defines data structures
specific to audit plugins.
</para>
@@ -4444,8 +4445,8 @@
<para>
A plugin could be written to receive both general and
- connection events by setting its type-specific descriptor like
- this:
+ connection events by setting its type-specific descriptor
+ class mask like this:
</para>
<programlisting>
@@ -4767,7 +4768,7 @@
</itemizedlist>
<para>
- Each audit plugin should be compiled against MySQL source in
+ Each audit plugin must be compiled against MySQL source in
which the value of
<literal>MYSQL_AUDIT_INTERFACE_VERSION</literal> is
appropriate for the iterface version the plugin requires.
Modified: trunk/refman-5.6/extending-mysql.xml
===================================================================
--- trunk/refman-5.6/extending-mysql.xml 2011-06-10 13:52:11 UTC (rev 26487)
+++ trunk/refman-5.6/extending-mysql.xml 2011-06-10 15:21:12 UTC (rev 26488)
Changed blocks: 2, Lines Added: 9, Lines Deleted: 8; 1738 bytes
@@ -4192,20 +4192,21 @@
</para>
<para>
- To write an audit plugin, include the following header files
- in the plugin source file. Other MySQL or general header files
+ To write an audit plugin, include the following header file in
+ the plugin source file. Other MySQL or general header files
might also be needed.
</para>
<programlisting>
-#include <mysql/plugin.h>
#include <mysql/plugin_audit.h>
</programlisting>
<para>
- <filename>plugin.h</filename> defines the
- <literal>MYSQL_AUDIT_PLUGIN</literal> server plugin type and
- the data structures needed to declare the plugin.
+ <filename>plugin_audit.h</filename> includes
+ <filename>plugin.h</filename>, so you need not include the
+ latter file explicitly. <filename>plugin.h</filename> defines
+ the <literal>MYSQL_AUDIT_PLUGIN</literal> server plugin type
+ and the data structures needed to declare the plugin.
<filename>plugin_audit.h</filename> defines data structures
specific to audit plugins.
</para>
@@ -4438,8 +4439,8 @@
<para>
A plugin could be written to receive both general and
- connection events by setting its type-specific descriptor like
- this:
+ connection events by setting its type-specific descriptor
+ class mask like this:
</para>
<programlisting>
| Thread |
|---|
| • svn commit - mysqldoc@oter02: r26488 - in trunk: . refman-5.5 refman-5.6 | paul.dubois | 11 Jun |