Make Slave of External Server status configurable

The assignment of the Slave status with Slave of External Server can now
be controlled with the allow_external_slaves parameter.
This commit is contained in:
Markus Mäkelä
2017-06-29 10:56:15 +03:00
parent 1f8072f3d6
commit fd9a08b9f4
3 changed files with 32 additions and 5 deletions

View File

@ -80,6 +80,7 @@ typedef struct
bool warn_failover; /**< Log a warning when failover happens */
bool load_journal; /**< Whether journal file should be loaded */
time_t journal_max_age; /**< Maximum age of journal file */
bool allow_external_slaves; /**< Whether to allow usage of external slave servers */
MXS_MONITOR* monitor;
} MYSQL_MONITOR;