connection_pool employs async_reset_connection, which discards character set settings used during connection establishment (sigh). This makes the connection use the server's default character set (as given by SELECT @@global.character_set_client, @@global.character_set_connection, @@global.character_set_results;), which is, in most cases, latin1 (sigh).
pool_params should probably have a std::string charset parameter to run a SET NAMES statement on connection establishment and reset.
connection_pool
employsasync_reset_connection
, which discards character set settings used during connection establishment (sigh). This makes the connection use the server's default character set (as given bySELECT @@global.character_set_client, @@global.character_set_connection, @@global.character_set_results;
), which is, in most cases,latin1
(sigh).pool_params
should probably have astd::string charset
parameter to run aSET NAMES
statement on connection establishment and reset.Descoped from #19.