summaryrefslogtreecommitdiff
path: root/mysql-test/include/galera_end.inc
blob: 0fb5479844eaa7346b58d2a920dc7632dc5a2fc8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# galera_end.inc
# ==============
#
# Description
# -----------
# Closes the connections opened via include/galera_init.inc
#
# Parameters
# ----------
# $galera_cluster_size
#   Number of nodes in the cluster.
#

--let $_galera_node= $galera_cluster_size

while ($_galera_node)
{
  if ($galera_debug)
  {
    --echo Disconnecting node_$_galera_node
  }
  --disconnect node_$_galera_node
  --dec $_galera_node
}