Markus Mäkelä 291d2e987f
Improve charset selection
The charset sent in the handshake is now done with the following
priorities:

* First Master server
* Last Slave server
* First Running server or Down server whose charset is known

The change is that server in the Down state to which we've successfully
connected to can also be used as the charset source. This, in addition
with an "empty" default charset, helps avoid the use of the default latin1
charset unless absolutely necessary.
2020-03-12 11:03:04 +02:00
..
2020-03-12 11:03:04 +02:00
2018-09-10 13:22:49 +03:00
2020-03-12 11:03:04 +02:00
2020-03-10 10:45:47 +02:00
2017-01-16 10:56:33 +02:00