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:
None 
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

File: Maximum allowed size is 50MB.
Description:
Privacy:

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
Code for udf_count functions

Attachment: udf_count.cpp (text/plain), 4.39 KiB.

[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.

Portions of this website are copyright © 2001, 2002 The PHP Group

Page generated in 0.037 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.