Bug 124: Add log message when an invalid router option is supplied
This commit is contained in:
@ -59,6 +59,7 @@
|
|||||||
* 22/07/2013 Mark Riddoch Addition of joined router option for Galera
|
* 22/07/2013 Mark Riddoch Addition of joined router option for Galera
|
||||||
* clusters
|
* clusters
|
||||||
* 31/07/2013 Massimiliano Pinto Added a check for candidate server, if NULL return
|
* 31/07/2013 Massimiliano Pinto Added a check for candidate server, if NULL return
|
||||||
|
* 12/08/2013 Mark Riddoch Log unsupported router options
|
||||||
*
|
*
|
||||||
* @endverbatim
|
* @endverbatim
|
||||||
*/
|
*/
|
||||||
@ -215,6 +216,11 @@ int i, n;
|
|||||||
inst->bitmask |= (SERVER_JOINED);
|
inst->bitmask |= (SERVER_JOINED);
|
||||||
inst->bitvalue |= SERVER_JOINED;
|
inst->bitvalue |= SERVER_JOINED;
|
||||||
}
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
skygw_log_write(LOGFILE_ERROR,
|
||||||
|
"Unsupported router option %s for readconnroute\n", options[i]);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user