MXS-2011 Fix documentation and comments

Fix documentation and comment based upon review comments.
This commit is contained in:
Johan Wikman
2018-09-04 14:35:29 +03:00
parent 65d355c7d7
commit a0ea37b2c5
2 changed files with 4 additions and 3 deletions

View File

@ -4542,6 +4542,7 @@ int blr_handle_change_master(ROUTER_INSTANCE* router,
if (index != 0)
{
// Index 0 refers to the default configuration.
string use_gtid = router->configs[0].use_mariadb10_gtid;
if (use_gtid.empty() || (strcasecmp(use_gtid.c_str(), "slave_pos") != 0))