* Sergei Golubchik <serg@stripped> [07/12/07 21:21]:
> > > It basically is a part of the public library API - it's the only way for
> > > a client to support /etc/my.cnf configuration, which is supposed to be
> > > common to all clients.
> >
> > I think we mean different things under words "client library'.
> >
> > Client library is a Connector/C. Not "a library to use if you
> > build a MySQL command line client".
>
> Yes, I mean Connector/C. load_defaults() is de-facto part of Connector/C
> because any client (*) that wants to support /etc/my.cnf have to use
> load_defaults().
No other connector ships load_defaults. load_defaults is not a
documented part of the client library API.
Are you suggesting it is added to the manual?
It has changed the signature in the past two years, and there are
more plans for changes.
> (*) and I mean *any*, not "mysql command line client". Gentoo portage
> has 162 ebuilds that depend on virtual/mysql, with examples like
> games-strategy/freeciv, mail-filter/dspam, media-sound/amarok.
Sure, they depend on the Connector/C. But I would argue that *none*
of them uses load_defaults.
--
-- Konstantin Osipov Software Developer, Moscow, Russia
-- MySQL AB, www.mysql.com The best DATABASE COMPANY in the GALAXY