Debian Codegraph @

mysql-test/suite/ndb_rpl/t/ndb_connect_to_secondary.inc

raw
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 }