Clean up monitor initialization and destruction

Since monitors are now freed at MaxScale exit, the server data should be freed. Also,
gtid domain variables are now initialized with a common constant.
This commit is contained in:
Esa Korhonen
2018-05-09 14:53:41 +03:00
parent 75eded4b89
commit df4454027a
6 changed files with 38 additions and 22 deletions

View File

@ -15,3 +15,5 @@
/** Server id default value */
const int64_t SERVER_ID_UNKNOWN = -1;
/** Default gtid domain */
const int64_t GTID_DOMAIN_UNKNOWN = -1;