MySQL plugin结构

时间:2023-11-23 14:36:50

1、背景


MySQL插件安装语法如下:

13.7.3.3 INSTALL PLUGIN Syntax
INSTALL PLUGIN plugin_name SONAME 'shared_library_name'

http://dev.mysql.com/doc/refman/5.5/en/install-plugin.html

问题:如何找到plugin_nameshared_library_name对应关系呢?

一个一个查找文档吗?答案不是这样的,当然可以通过源码的方式查找。

2、对应关系查找


2.1、半同步主库设置

[root@typhoeus81 ice_test_2 semisync]# pwd
/data1/guosong/opdir/mysql-5.6.16/plugin/semisync/semisync_master_plugin.cc 434 /*
435 Plugin library descriptor
436 */
437 mysql_declare_plugin(semi_sync_master)
438 {
439 MYSQL_REPLICATION_PLUGIN,
440 &semi_sync_master_plugin,
441 "rpl_semi_sync_master",
442 "He Zhenxing",
443 "Semi-synchronous replication master",
444 PLUGIN_LICENSE_GPL,
445 semi_sync_master_plugin_init, /* Plugin Init */
446 semi_sync_master_plugin_deinit, /* Plugin Deinit */
447 0x0100 /* 1.0 */,
448 semi_sync_master_status_vars, /* status variables */
449 semi_sync_master_system_vars, /* system variables */
450 NULL, /* config options */
451 0, /* flags */
452 }
453 mysql_declare_plugin_end;

 2.2、半同步从库设置

[root@typhoeus81 ice_test_2 semisync]# pwd
/data1/guosong/opdir/mysql-5.6.16/plugin/semisync
[root@typhoeus81 ice_test_2 semisync]# vim semisync_slave_plugin.cc 215 mysql_declare_plugin(semi_sync_slave)
216 {
217 MYSQL_REPLICATION_PLUGIN,
218 &semi_sync_slave_plugin,
219 "rpl_semi_sync_slave",
220 "He Zhenxing",
221 "Semi-synchronous replication slave",
222 PLUGIN_LICENSE_GPL,
223 semi_sync_slave_plugin_init, /* Plugin Init */
224 semi_sync_slave_plugin_deinit, /* Plugin Deinit */
225 0x0100 /* 1.0 */,
226 semi_sync_slave_status_vars, /* status variables */
227 semi_sync_slave_system_vars, /* system variables */
228 NULL, /* config options */
229 0, /* flags */
230 }

 2.3、audit_null

[root@typhoeus81 ice_test_2 audit_null]# pwd
/data1/guosong/opdir/mysql-5.6.16/plugin/audit_null
[root@typhoeus81 ice_test_2 audit_null]# vim audit_null.c 195 mysql_declare_plugin(audit_null)
196 {
197 MYSQL_AUDIT_PLUGIN, /* type */
198 &audit_null_descriptor, /* descriptor */
199 "NULL_AUDIT", /* name */
200 "Oracle Corp", /* author */
201 "Simple NULL Audit", /* description */
202 PLUGIN_LICENSE_GPL,
203 audit_null_plugin_init, /* init function (when loaded) */
204 audit_null_plugin_deinit, /* deinit function (when unloaded) */
205 0x0003, /* version */
206 simple_status, /* status variables */
207 NULL, /* system variables */
208 NULL,
209 0,
210 }
211 mysql_declare_plugin_end;

 2.4、qa_auth_client

[root@typhoeus81 ice_test_2 auth]# pwd
/data1/guosong/opdir/mysql-5.6.16/plugin/auth
[root@typhoeus81 ice_test_2 auth]# vim qa_auth_client.c 116 mysql_declare_client_plugin(AUTHENTICATION)
117 "qa_auth_client",
118 "Horst Hunger",
119 "Dialog Client Authentication Plugin",
120 {0,1,0},
121 "GPL",
122 NULL,
123 NULL,
124 NULL,
125 NULL,
126 test_plugin_client
127 mysql_end_client_plugin;

规律的就是在mysql_declare_plugin中进行定义了,通过查找源码:

aaarticlea/png;base64,iVBORw0KGgoAAAANSUhEUgAAAooAAACZCAIAAAAny4zHAAAgAElEQVR4nO1dTbbzoA1lOV1DFuT1vA30dNI1eDPeQycddeQOEttC6I8fJ3Zy7/kG74uNABm4IEBKiePxt6zzVPycHn/Lui5/j+OXaV7X7VX69/42EyP9Fk1rJK8qM/2F5fv4W1bytp1WqsPxqCpfljyS75D6stft76tWNZMlfx2zzI+/hZaP/ElefpXEzSMvWll+pUauXAeKWAWFomWF+jKKHAOStZZjtw0750H9SFCD3VMA4Megdd+0dbvt4TSv63r8P3/4/F/RjazR0UtrDKJGmfMsH3/LsiwiET7+lpU+29Pmw8xR3bkYcLIyGGndQccqc6i+Vr5c0XxYVb6vVtZcBTpFqWUO0fPWKIpx3v4KOQ/oNeqj51zlvMgSlWQp1ImsRUPmTFeXrLccp22YO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wmKMOs/P7O3mxFVLcLtpZo/0baZeXImbVSnrOX681bufF5rvXzZrMe9XrfwU9c/s2eVjTchToidT6VkgudBAxbkdhWwrq7AhmzGZqPeb+nDfjdmqiZydWdL6AZjGabF/Q1R62gbejbPlhet5G2wnxnnUpIQkumWXCnFFFWj4XPBNaPQfTnlcj8TuUL4+hZ2natnJqq6DYrLKtmty70zSvy7Ls1iqmRmtaEW85CoJ6jDYNT2zHpFAs06jl8wYtKrNKdZ30bOabNkrerdnU1g16vjtcU6HROZ9jMOI9Kxi4eibivLrxXIsPLI7RstRY2rNrxHI9a/XsJi5+srQhTXIbNHnMdtk+d2ZS55+bVTqqZwWhdLXCjfpX6dnNZDQ774mz5axlKB5Ez2K+aRO1znzpnDx6hnH7Bshn36VV1+p3+amc8rwG7Vdslu9I9vApySYQ73lIjRDvOUsln+PbEufaKbsg/bmR5LQmY9fXhPO+qef9Ba86dg+s6Z/JjcosH7Oa0mN71EjPbr7Pn7ez30LkRCPQoRQOEkfDLgeydTUj3rMpOZB8JbqsyNcnM3VIyfIVcyVvlGZDw6BrpT2tRkWhymyJIXr+6njPLj3nGW8700UOdWTESyt+DL++Vq3sNufpSqdnuy/4PUWBG5U5pVTuQC8D6DmS71OatqrOcigW36zMmnwAAEx0WeMuiTE1+j69jAY09N2g97gAAHg7vm+IHVWj79PMWEA/Xw4EuwSAz+AwyH3LCDu6RqAfGd/XcgCKw90YuBkAAADw8a9/WP8AAKhDflqj677vMNAyvadEV16Hudrou072l9Ka0pp++qbFtClh/zdoXdJ8arA2iyrJsVJld69D3RD0DAAjUetU4GwIt6/fULzL0nN59Zf5pege+EHPKaUppX9uGngMZugXel3m2II77vEazoeeLS/eB0HPANCK/wNsbPuK/ZCM8QAAAABJRU5ErkJggg==" alt="" />

非常方便找到对应关系

3、MySQL Plugin原理


(待续)

4、参考文献


http://dev.mysql.com/doc/refman/5.6/en/plugin-data-structures.html