Bug #12046 Group_concat bug ?
| Submitted: | 20 Jul 2005 6:28 | Modified: | 20 Jul 2005 14:02 |
|---|---|---|---|
| Reporter: | Toten Hose | Email Updates: | |
| Status: | Not a Bug | Impact on me: | |
| Category: | MySQL Server | Severity: | S3 (Non-critical) |
| Version: | 5 | OS: | Linux (Suse) |
| Assigned to: | CPU Architecture: | Any |
[20 Jul 2005 6:28]
Toten Hose
[20 Jul 2005 7:40]
Vasily Kishkin
Could you please write here table definition ?
[20 Jul 2005 7:49]
Toten Hose
id int(10) unsigned PRI NULL auto_increment country int(10) unsigned MUL 0 name varchar(50)
[20 Jul 2005 8:03]
Toten Hose
PHP query making code: $q = 'SELECT riik, GROUP_CONCAT(id SEPARATOR ", "), GROUP_CONCAT(nimi SEPARATOR "\", \"") FROM maailma_linnad GROUP BY riik'; I tried with different separators... looks like there's a field length limit 1024. I'm not an expert, but is it changable ?
[20 Jul 2005 8:06]
Toten Hose
Sorry for annoying :) I found there's a system variable called: group_concat_max_len = 1024
Portions of this website are copyright © 2001, 2002 The PHP Group
Page generated in 0.039 sec. using MySQL 8.4.7-u6-cloud
Timestamp references displayed by the system are UTC.
Content reproduced on this site is the property of the
respective copyright holders.
It is not reviewed in advance
by Oracle and does not necessarily represent the opinion of
Oracle or any other party.