Bug #47597 incorrect encoding in sys_var errors
Submitted: 24 Sep 2009 10:35 Modified: 13 Nov 2009 20:49
Reporter: Sergei Golubchik Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Server: Options Severity:S3 (Non-critical)
Version:5.4+ OS:Any
Assigned to: Sergei Glukhov CPU Architecture:Any

[24 Sep 2009 10:35] Sergei Golubchik
Description:
the encoding of values in SET system_variable=identifier is incorrect, and it results in incorrect error messages

How to repeat:
SET sql_quote_show_create=TRÜE;
ERROR 42000: Variable 'sql_quote_show_create' can't be set to the value of 'TR\xC3\x9CE'
[13 Oct 2009 14:41] Sergei Golubchik
patch with a  fix

Attachment: bug47597.patch (text/x-patch), 1.90 KiB.

[13 Oct 2009 14:42] Sergei Golubchik
not repeatable in next-mr
[13 Nov 2009 20:49] Paul DuBois
Noted in 5.5.0 changelog.

The encoding of values for SET system_variable = identifier
statements was incorrect, resulting in incorrect error messages.