Bug #4035 | GROUP_CONCAT with HAVING clause truncates field | ||
---|---|---|---|
Submitted: | 7 Jun 2004 12:39 | Modified: | 16 Jun 2004 9:54 |
Reporter: | Klaas Geldof | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | MySQL Server | Severity: | S3 (Non-critical) |
Version: | 4.1.3 | OS: | |
Assigned to: | Ramil Kalimullin | CPU Architecture: | Any |
[7 Jun 2004 12:39]
Klaas Geldof
[7 Jun 2004 23:34]
Dean Ellis
Verified against 4.1.3/Linux. Thank you for the report. DROP TABLE IF EXISTS t1; CREATE TABLE t1 ( a char(4) ) ENGINE=MyISAM; INSERT INTO t1 VALUES ('John'),('Anna'),('Bill'); SELECT GROUP_CONCAT(a SEPARATOR ',') AS names FROM t1 HAVING names LIKE '%An%'; SELECT GROUP_CONCAT(a SEPARATOR ',') AS names FROM t1 HAVING LEFT(names,1) = 'J'; DROP TABLE t1;
[8 Jun 2004 15:13]
Ramil Kalimullin
ChangeSet 1.1903 04/06/08 18:01:15 ram@gw.mysql.r18.ru +6 -0
[16 Jun 2004 9:54]
Ramil Kalimullin
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