Johan Wikman d77a9a3040 MXS-1889 Handle master used as slave
Up until 2.1.12, if it in the configuration file said
'router_options=slave', the master was used if there were no
slaves at session creation time.

That broke in 2.1.13 as a side-effect of MXS-1516 that checks
at routing time whether the server initially selected as master
still is the master.

Now the required server status is stored separately for each
session, so that if the master was chosen, even though we have
'router_options=slave', we can turn on the SERVER_MASTER bit.

That allows us to handle the case correctly in connection_is_valid().
2018-06-01 11:00:13 +03:00
..
2018-03-06 10:38:01 +02:00
2018-04-24 12:39:22 +03:00
2017-06-01 10:24:20 +03:00
2017-06-01 10:24:20 +03:00
2017-03-03 15:35:37 +02:00