Hi!
On Dec 08, Konstantin Osipov wrote:
> * Sergei Golubchik <serg@stripped> [07/12/07 23:22]:
> >
> > http://www.jsw4.net/info/listserv_archives/mysql/05-wk02/msg00115.html
>
> mentions handle_options and my_init, which are not in mysql.h
One should use mysql_library_init() instead which calls my_init
internally.
> > http://www.listsearch.com/MySQL/Message/index.lasso?216520
>
> Mentions my_init(), not in mysql.h.
>
> > http://www.searchy.net/mailinglists/MySQL_General/msg11412.html
> > http://www.galileo-press.de/openbook/c_von_a_bis_z/c_027_003.htm
>
> Uses my_init(), doesn't include my_sys.h and it all works only
> because it's a C program, so no prior declaration is required.
>
> > http://search.cpan.org/~darren/MySQL-Config-1.03/lib/MySQL/Config.pm
>
> Export parse_defaults as well, not part of mysql.h
>
> > (the last is the pupe-perl emulation, shows that the functionality is
> > used indeed)
> >
> > ... and many more
>
> Point is: for anything even little beyond trivial one has to
> include my_sys.h.
if you refer to my_init() - one should use mysql_library_init()
instead, it's in mysql.h
Regards / Mit vielen Grüssen,
Sergei
--
__ ___ ___ ____ __
/ |/ /_ __/ __/ __ \/ / Sergei Golubchik <serg@stripped>
/ /|_/ / // /\ \/ /_/ / /__ Principal Software Developer
/_/ /_/\_, /___/\___\_\___/ MySQL GmbH, Dachauer Str. 37, D-80335 München
<___/ Geschäftsführer: Kaj Arnö - HRB
München 162140