Bug #18554 | ResultSetMetaData.getColumnName() returns garbage chars w/ long column names | ||
---|---|---|---|
Submitted: | 27 Mar 2006 21:49 | Modified: | 5 Apr 2006 20:14 |
Reporter: | Brad Jackson | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | Connector / J | Severity: | S2 (Serious) |
Version: | 3.1.12 | OS: | Windows (Windows XP) |
Assigned to: | Mark Matthews | CPU Architecture: | Any |
[27 Mar 2006 21:49]
Brad Jackson
[28 Mar 2006 16:51]
Tonci Grgin
Thanks for your bug report. Does this help: http://dev.mysql.com/doc/refman/4.1/en/legal-names.html
[28 Mar 2006 17:46]
Brad Jackson
I have worked around the problem by using a column alias for my large case statement, but there is still a bug with the two garbage characters (such as รป and a null) that are prepended to the meta data column name when it is over 250 characters long.
[3 Apr 2006 18:22]
Bugs System
A patch for this bug has been committed. After review, it may be pushed to the relevant source trees for release in the next version. You can access the patch from: http://lists.mysql.com/commits/4421