This commit is contained in:
vraatikka 2013-08-19 17:10:33 +03:00
commit d6432b1750
2 changed files with 7 additions and 1 deletions

View File

@ -22,7 +22,6 @@ threads=1
[RW Split Service]
type=service
router=readwritesplit
router_options=slave
servers=server1,server2,server3
user=maxuser
auth=maxpwd

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