1
0
mirror of https://github.com/MariaDB/server.git synced 2025-11-16 20:23:18 +03:00

Impl 3 of WL2278 - Dynamic port allocation of cluster nodes

- Change configuration handling so that no default ports are given, but instead 0 is set (port to be dynamic)
- TransporterRegistry::start_service now only tries to connect when fetched port number > 0
This commit is contained in:
stewart@mysql.com
2005-01-04 15:20:27 +11:00
parent 598ae38fa8
commit 1edca0ac8c
7 changed files with 49 additions and 54 deletions

View File

@@ -83,7 +83,7 @@ public:
* bind & listen
* Returns false if no success
*/
bool setup(Service *, unsigned short port, const char * pinterface = 0);
bool setup(Service *, unsigned short *port, const char * pinterface = 0);
/**
* start/stop the server