Bug #59305 | mysql_real_connect with wchar_t types | ||
---|---|---|---|
Submitted: | 5 Jan 2011 10:03 | Modified: | 31 Jan 2011 8:07 |
Reporter: | Shrikrishna Bhat | Email Updates: | |
Status: | Not a Bug | Impact on me: | |
Category: | MySQL Server: C API (client library) | Severity: | S2 (Serious) |
Version: | 6.0.2 | OS: | Any |
Assigned to: | CPU Architecture: | Any | |
Tags: | wchar_t C API |
[5 Jan 2011 10:03]
Shrikrishna Bhat
[31 Jan 2011 8:07]
Bogdan Degtyariov
Hi Shrikrishna, Unfortunately, MySQL C API function mysql_real_connect() does not support wchar_t types for parameters. In order to use mysql_real_connect() you have to convert wchar_t to char. I am not sure if mysql_real_connect() will ever accept wchar_t. Setting "not a bug" status.