MXS-2011 Fix terminology and names

The variable storing the configuration index renamed from
'current_config' to 'config_index'.

In the code the same terminology is used as in the documentation.
"Default" is is used for referring to the default connections
(earlier "primary" was used) and the secondary connections are
referred to as "secondary" (earlier "alternative" was also used).
This commit is contained in:
Johan Wikman
2018-09-04 09:49:41 +03:00
parent b835befe0f
commit f5b73cf106
5 changed files with 24 additions and 24 deletions

View File

@ -838,7 +838,7 @@ struct ROUTER_INSTANCE: public MXS_ROUTER
char *set_slave_hostname; /*< Send custom Hostname to Master */
ROUTER_INSTANCE *next;
std::vector<ChangeMasterConfig> configs;/*< Available configs. */
int current_config; /*< The config currently being used. */
int config_index; /*< The index of the config currently being used. */
};
/** Master Semi-Sync capability */