Hi Dmitry,
On 11/25/10 8:47 AM, Dmitry Shulga wrote:
> #At file:///Users/shulga/projects/mysql/5.1-bugteam-bug56473/ based on
> revid:azundris@stripped
>
> 3521 Dmitry Shulga 2010-11-25
> Bug#56473: ERROR 1260 (HY000): %d line(s) were cut by GROUP_CONCAT().
> Adding a test case to ensure there will be no regression.
OK to push. One minor request below.
[..]
>
>
> +--echo #
> +--echo # Bug#56473: too long output from group_concat()
> +--echo # results in: "ERROR 1260 (HY000): %d line(s) were cut by GROUP_CONCAT()"
> +--echo #
> +SET @@group_concat_max_len = 10;
Save and restore the value of @@group_concat_max_len using a auxiliary
variable. Something like:
SET @old_group.. = @@group_concat_max_len;
SET @@group_concat_max_len = 10;
...
SET @@group_concat_max_len = @old_group..
Regards,
Davi