[MDEV-6805] one can set character_set_client to utf32 Created: 2014-09-28  Updated: 2014-11-21  Resolved: 2014-11-21

Status: Closed
Project: MariaDB Server
Component/s: Character Sets
Affects Version/s: 5.5.39, 10.0.14
Fix Version/s: 10.0.15

Type: Bug Priority: Major
Reporter: Sergei Golubchik Assignee: Sergei Golubchik
Resolution: Fixed Votes: 0
Labels: character-set


 Description   

The server variable character_set_client is used by the parser to parse the incoming queries, and as such it can only be set to a character set that is supported by the parser. There is a special check that prevents a non-supported value from being assigned to character_set_client.

But on the server startup the initial value of the global character_set_client is taken from --default-character-set option — it sets all character set variables, including character_set_client, and that bypasses the validity check.



 Comments   
Comment by Sergei Golubchik [ 2014-09-28 ]

When fixed, galera's workaround (where client charset is temporarily changed to latin1) should be removed.

Generated at Thu Feb 08 07:14:42 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.