Bug #537 UDF example broken on 4.1
Submitted: 29 May 2003 13:30 Modified: 30 May 2003 1:07
Reporter: Jeremy Cole (Basic Quality Contributor) (OCA) Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Server: User-defined functions ( UDF ) Severity:S3 (Non-critical)
Version:4.1 OS:Any (All)
Assigned to: Ramil Kalimullin CPU Architecture:Any

[29 May 2003 13:30] Jeremy Cole
Description:
udf_example.cc doesn't compile on 4.1

How to repeat:
(jcole@mugatu) [~/mysql-4.1.0-alpha/sql]$ make udf_example.so
gcc -DMYSQL_SERVER -DDEFAULT_MYSQL_HOME="\"/usr/local/mysql\"" -DDATADIR="\"/usr
/local/mysql/var\"" -DSHAREDIR="\"/usr/local/mysql/share/mysql\"" -DHAVE_CONFIG_
H -I. -I. -I.. -I../innobase/include -I../include -I../regex -I.     -O3 -DDBUG_
OFF -O2 -mcpu=pentiumpro -felide-constructors  -fno-implicit-templates -fno-exceptions -fno-rtti -shared -o udf_example.so udf_example.cc
udf_example.cc: In function `char * metaphon(UDF_INIT *, UDF_ARGS *, char *, long unsigned int *, char *, char *)':
udf_example.cc:287: base operand of `->' has non-pointer type `CHARSET_INFO'
udf_example.cc:288: base operand of `->' has non-pointer type `CHARSET_INFO'
make: *** [udf_example.so] Error 1
[30 May 2003 1:07] Ramil Kalimullin
Thank you for your bug report. This issue has been fixed in the latest
development tree for that product. You can find more information about
accessing our development trees at 
    http://www.mysql.com/doc/en/Installing_source_tree.html