Bug #2202 CAST from binary to char still returns a binary string
Submitted: 24 Dec 2003 5:23 Modified: 25 Dec 2003 5:43
Reporter: Alexander Barkov Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Server Severity:S3 (Non-critical)
Version:bk 4.1.1 current OS:FreeBSD (freebsd)
Assigned to: Alexander Barkov CPU Architecture:Any

[24 Dec 2003 5:23] Alexander Barkov
Description:
mysql> select charset(cast(user as char character set koi8r)) from mysql.user;
+-------------------------------------------------+
| charset(cast(user as char character set koi8r)) |
+-------------------------------------------------+
| binary                                          |
| binary                                          |
| binary                                          |
| binary                                          |
| binary                                          |
+-------------------------------------------------+
5 rows in set (0.00 sec)

It should return koi8r instead.

How to repeat:
Run the above
[25 Dec 2003 5:43] Alexander Barkov
Thank you for your bug report. This issue has been committed to our
source repository of that product and will be incorporated into the
next release.

If necessary, you can access the source repository and build the latest
available version, including the bugfix, yourself. More information 
about accessing the source trees is available at
    http://www.mysql.com/doc/en/Installing_source_tree.html