Bug #38297 | aggregate UDF xxx_init / deinit only called once for aggregation with rollup | ||
---|---|---|---|
Submitted: | 22 Jul 2008 20:04 | Modified: | 23 Jul 2008 15:56 |
Reporter: | Ron Saad | Email Updates: | |
Status: | Verified | Impact on me: | |
Category: | MySQL Server: User-defined functions ( UDF ) | Severity: | S3 (Non-critical) |
Version: | 5.0, 5.1 | OS: | Windows (Vista Ultimat) |
Assigned to: | CPU Architecture: | Any | |
Tags: | aggregate, rollup, udf |
If the data you need to attach is more than 50MB, you should create a compressed archive of the data, split it to 50MB chunks, and upload each of them as a separate attachment.
To split a large file:
- On *nix platforms use the split command e.g.
split -b 50MB <my_large_archive> <my_split_archive_prefix>
- On windows use WinZip or a similar utility to split the large file
[22 Jul 2008 20:05]
Ron Saad
[23 Jul 2008 15:40]
Hartmut Holzgraefe
autotoolized UDF project
Attachment: UDF-bug38297-0.0.1dev.tar.gz (application/gzip, text), 314.61 KiB.
[20 Jun 2010 19:28]
Sven Wegener
Patch for 5.1, I don't know if it has correct error handling, this was hacked up for personal use.
Attachment: mysql-5.1-udf-rollup.patch (application/octet-stream, text), 4.13 KiB.
[21 Dec 2014 2:41]
Daniel Black
diff against UDF-bug38297-0.0.1dev
Attachment: bug38297.cc.diff (text/x-patch), 4.46 KiB.
[21 Dec 2014 3:15]
Daniel Black
correction to previous
Attachment: bug38297.cc.diff (text/x-patch), 4.46 KiB.