Debian Codegraph @

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

raw
1 # Use a variable to decide which cluster is 'Primary'
2 if (!$SWITCH_CLUSTER_ROLES)
3 {
4 --connection master
5 }
6 if ($SWITCH_CLUSTER_ROLES)
7 {
8 --connection slave
9 }