Add disconnect as an alias for close_connections

This way both MaxScale and backend connections have the same function
names.
This commit is contained in:
Markus Mäkelä 2018-03-10 11:53:06 +02:00
parent 60ad1bccc5
commit 464d52453b
No known key found for this signature in database
GPG Key ID: 72D48FCE664F7B19

View File

@ -160,6 +160,12 @@ public:
*/
void close_connections();
// Alias for close_connections()
void disconnect()
{
close_connections();
}
/**
* @brief reads IP, Ports, sshkeys for every node from enviromental variables as well as number of nodes (N) and User/Password
* @return 0