Bug #15567 | documentation: signature of avgcost in udf_example.cc does not match manual | ||
---|---|---|---|
Submitted: | 8 Dec 2005 0:39 | Modified: | 28 Nov 2009 14:32 |
Reporter: | Roland Bouman | Email Updates: | |
Status: | Can't repeat | Impact on me: | |
Category: | MySQL Server | Severity: | S4 (Feature request) |
Version: | 5.0.16 | OS: | Any (na) |
Assigned to: | CPU Architecture: | Any |
[8 Dec 2005 0:39]
Roland Bouman
[28 Nov 2009 14:32]
Valeriy Kravchuk
With current 5.0.89 I see the following declarations in udf_example.c: void avgcost_clear( UDF_INIT* initid, char* is_null, char *error ); void avgcost_add( UDF_INIT* initid, UDF_ARGS* args, char* is_null, char *error ); So, these functions are void now, as described in the documentation, http://dev.mysql.com/doc/refman/5.0/en/udf-aggr-calling.html.