[MDEV-4249] MYSQL_AUTODETECT_CHARACTER_SET option doesn't work with Windows GUI applications Created: 2013-03-06 Updated: 2013-03-12 Resolved: 2013-03-12 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | None |
| Affects Version/s: | 10.0.2, 5.5.29 |
| Fix Version/s: | 5.5.31 |
| Type: | Bug | Priority: | Major |
| Reporter: | Georg Richter | Assignee: | Vladislav Vaintroub |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | None | ||
| Environment: |
Windows |
||
| Description |
|
The option MYSQL_AUTODETECT_CHARACTER_SET doesn't work with Windows GUI applications, since the function mysql_autodetect_character_set()tries to retrieve the current codepage via GetConsoleCP() windows api function. 5.x Versions are affected too. Suggested fix:
|