Audit log does not transcode queries
Bug #1602986 reported by
Sergei Glushchenko
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | ||
---|---|---|---|---|---|---|
Percona Server moved to https://jira.percona.com/projects/PS | Status tracked in 5.7 | |||||
5.6 |
Fix Released
|
Medium
|
Sergei Glushchenko | |||
5.7 |
Fix Released
|
Medium
|
Sergei Glushchenko |
Bug Description
1. Audit log API passing strings like database/host/etc using `character_
2. The query is passed using client charset.
3. XML header of audit log states that file using UTF-8
We should make encoding consistent!
One way to achieve this is to:
1. change XML headers to show system charset name
2. Transcode query to system charset
character_ set_system is always utf8, so this part of the bug is probably benign.