MySQL 5.6.14 Source Code Document
Main Page
Related Pages
Modules
Namespaces
Classes
Files
Examples
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
have_semisync_plugin.inc
1
#
2
# Check if server has support for loading plugins
3
#
4
if
(`SELECT @@have_dynamic_loading !=
'YES'
`) {
5
--
skip
Requires dynamic loading
6
}
7
8
#
9
# Check if the variable SEMISYNC_MASTER_PLUGIN is set
10
#
11
if
(!$SEMISYNC_MASTER_PLUGIN)
12
{
13
skip
Need semisync plugins;
14
}
15
16
#
17
# Check if --plugin-dir was setup for semisync
18
#
19
if
(`SELECT CONCAT(
'--plugin-dir='
,
REPLACE
(@@plugin_dir,
'\\\\'
,
'/'
)) !=
'$SEMISYNC_PLUGIN_OPT/'
`) {
20
--
skip
SEMISYNC plugin requires that --plugin-dir is
set
to
the semisync plugin dir (either the .opt
file
does not contain \$SEMISYNC_PLUGIN_OPT or another plugin is in use)
21
}
mysql-test
include
have_semisync_plugin.inc
Generated on Sat Nov 9 2013 01:24:52 for MySQL 5.6.14 Source Code Document by
1.8.1.2