Bug 154 - Added warning if options are set for the read/write splitter and updated example config file.

This commit is contained in:
Mark Riddoch
2013-08-19 15:53:08 +02:00
parent f750b8545a
commit 0021eddfee
2 changed files with 7 additions and 1 deletions

View File

@ -150,6 +150,13 @@ static ROUTER* createInstance(
free(inst);
return NULL;
}
if (options)
{
skygw_log_write_flush(LOGFILE_MESSAGE,
"Router options supplied to read/write split router module but none are supported. The options will be ignored.\n");
}
/**
* We need an array of the backend servers in the instance structure so
* that we can maintain a count of the number of connections to each