Bug #80186 | the group by colunm is trimed when do group by | ||
---|---|---|---|
Submitted: | 28 Jan 2016 13:15 | Modified: | 28 Jan 2016 13:54 |
Reporter: | Tough HOU | Email Updates: | |
Status: | Not a Bug | Impact on me: | |
Category: | MySQL Server: DML | Severity: | S3 (Non-critical) |
Version: | 5.5.38-log | OS: | Windows |
Assigned to: | CPU Architecture: | Any | |
Tags: | GROUP BY, space, trim |
[28 Jan 2016 13:15]
Tough HOU
[28 Jan 2016 13:54]
MySQL Verification Team
Thank you for the bug report. That is expected behavior, please read: http://dev.mysql.com/doc/refman/5.5/en/char.html "All MySQL collations are of type PADSPACE. This means that all CHAR, VARCHAR, and TEXT values in MySQL are compared without regard to any trailing spaces. “Comparison” in this context does not..."