MySQL Lists are EOL. Please join:

List:Commits« Previous MessageNext Message »
From:Sergei Golubchik Date:December 7 2007 8:21pm
Subject:Re: bk commit into 5.1 tree (kostja:1.2614) BUG#25535
View as plain text  
Hi!

On Dec 07, Konstantin Osipov wrote:
> * 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().
> 
> load_defaults is not a documented part of the client library API.

It's explained in Paul's books.

> Are you suggesting it is added to the manual?

Perhaps, yes.

> > (*) 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.
 
I didn't check these three, right.
But a google search reveals quite a few references to load_defaults():

http://www.jsw4.net/info/listserv_archives/mysql/05-wk02/msg00115.html
http://www.listsearch.com/MySQL/Message/index.lasso?216520
http://www.searchy.net/mailinglists/MySQL_General/msg11412.html
http://www.galileo-press.de/openbook/c_von_a_bis_z/c_027_003.htm
http://search.cpan.org/~darren/MySQL-Config-1.03/lib/MySQL/Config.pm
(the last is the pupe-perl emulation, shows that the functionality is
used indeed)

... and many more

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
Thread
bk commit into 5.1 tree (kostja:1.2614) BUG#25535konstantin4 Dec
  • Re: bk commit into 5.1 tree (kostja:1.2614) BUG#25535Sergei Golubchik6 Dec
    • Re: bk commit into 5.1 tree (kostja:1.2614) BUG#25535Konstantin Osipov6 Dec
      • Re: bk commit into 5.1 tree (kostja:1.2614) BUG#25535Sergei Golubchik7 Dec
        • Re: bk commit into 5.1 tree (kostja:1.2614) BUG#25535Konstantin Osipov7 Dec
          • Re: bk commit into 5.1 tree (kostja:1.2614) BUG#25535Paul DuBois7 Dec
            • Re: bk commit into 5.1 tree (kostja:1.2614) BUG#25535Konstantin Osipov7 Dec
          • Re: bk commit into 5.1 tree (kostja:1.2614) BUG#25535Sergei Golubchik7 Dec
            • Re: bk commit into 5.1 tree (kostja:1.2614) BUG#25535Konstantin Osipov7 Dec
              • Re: bk commit into 5.1 tree (kostja:1.2614) BUG#25535Sergei Golubchik7 Dec
                • Re: bk commit into 5.1 tree (kostja:1.2614) BUG#25535Konstantin Osipov7 Dec
                  • Re: bk commit into 5.1 tree (kostja:1.2614) BUG#25535Sergei Golubchik11 Dec
                • Re: bk commit into 5.1 tree (kostja:1.2614) BUG#25535Konstantin Osipov7 Dec
                  • Re: bk commit into 5.1 tree (kostja:1.2614) BUG#25535Sergei Golubchik11 Dec
                    • Re: bk commit into 5.1 tree (kostja:1.2614) BUG#25535Paul DuBois11 Dec
                • Re: bk commit into 5.1 tree (kostja:1.2614) BUG#25535Konstantin Osipov8 Dec
                  • Re: bk commit into 5.1 tree (kostja:1.2614) BUG#25535Paul DuBois8 Dec
                    • Re: bk commit into 5.1 tree (kostja:1.2614) BUG#25535Konstantin Osipov8 Dec
                    • Re: bk commit into 5.1 tree (kostja:1.2614) BUG#25535Sergei Golubchik11 Dec
                      • Re: bk commit into 5.1 tree (kostja:1.2614) BUG#25535Konstantin Osipov11 Dec
                        • Re: bk commit into 5.1 tree (kostja:1.2614) BUG#25535Sergei Golubchik11 Dec
                        • Re: bk commit into 5.1 tree (kostja:1.2614) BUG#25535Paul DuBois5 Feb
                      • Re: bk commit into 5.1 tree (kostja:1.2614) BUG#25535Paul DuBois11 Dec
                        • Re: bk commit into 5.1 tree (kostja:1.2614) BUG#25535Paul DuBois11 Dec
                          • Re: bk commit into 5.1 tree (kostja:1.2614) BUG#25535Sergei Golubchik11 Dec
                            • Re: bk commit into 5.1 tree (kostja:1.2614) BUG#25535Paul DuBois11 Dec