☰
Debian Codegraph
@
8.0.46-1
/
/
mysql-test
/
suite
/
ndb_rpl
/
t
/
ndb_connect_to_secondary.inc
☽
☼
mysql-test/suite/ndb_rpl/t/ndb_connect_to_secondary.inc
code
plain
raw
GPL-2
UNKNOWN
debian/copyright
1
# Use a variable to decide which cluster is 'Secondary'
2
if (!$SWITCH_CLUSTER_ROLES)
3
{
4
--connection slave
5
}
6
if ($SWITCH_CLUSTER_ROLES)
7
{
8
--connection master
9
}