Bug #54443 | group_concat() silently truncates my result | ||
---|---|---|---|
Submitted: | 11 Jun 2010 19:35 | Modified: | 11 Jun 2010 21:00 |
Reporter: | Christopher Dickinson | Email Updates: | |
Status: | Not a Bug | Impact on me: | |
Category: | MySQL Server: Errors | Severity: | S3 (Non-critical) |
Version: | OS: | Any | |
Assigned to: | CPU Architecture: | Any | |
Tags: | group_concat, group_concat_max_len |
[11 Jun 2010 19:35]
Christopher Dickinson
[11 Jun 2010 20:33]
MySQL Verification Team
it should generate a warning like this; mysql> select group_concat(a) from t1; +-----------------+ | group_concat(a) | +-----------------+ | aaaa | +-----------------+ 1 row in set, 1 warning (0.00 sec) mysql> show warnings; +---------+------+--------------------------------------+ | Level | Code | Message | +---------+------+--------------------------------------+ | Warning | 1260 | 1 line(s) were cut by GROUP_CONCAT() | +---------+------+--------------------------------------+ 1 row in set (0.00 sec)
[11 Jun 2010 21:00]
Sveta Smirnova
Thank you for taking the time to write to us, but this is not a bug. Please double-check the documentation available at http://dev.mysql.com/doc/ and the instructions on how to report a bug at http://bugs.mysql.com/how-to-report.php Please check warnings in PHP application.
[24 Jan 2011 14:21]
Paul Bullivant
I had the same problem and it took me about 3 hours to debug. This is mostly because I was looking for a fault in my own code and not external code like MySql. An exception or warning would be useful here.