1 Jan 2008 18:41
Re: my.cnf reading support in MySQL backend
Timo Sirainen <tss <at> iki.fi>
2008-01-01 17:41:22 GMT
2008-01-01 17:41:22 GMT
On Tue, 2008-01-01 at 19:39 +0200, Timo Sirainen wrote: > On Tue, 2008-01-01 at 18:23 +0100, Luca Longinotti wrote: > > Timo Sirainen wrote: > > > On 31.12.2007, at 15.23, Luca Longinotti wrote: > > > > > >> + mysql_options(conn->mysql, MYSQL_READ_DEFAULT_GROUP, "client"); > > > > > > Is "client" always the correct group to read? Would there be any point > > > in making this configurable? > > > > > Well, "client" is the default group. It can of course be made > > configurable, which might be interesting... In that case I'd also make > > the location of the configuration file configurable, for maximum > > flexibility. Attached is a patch to do just that, and use "client" if > > nothing is set. > > I added it to v1.1, but I don't know if I should add it to v1.0. At > least it shouldn't do it by default to make sure that no existing > installations break accidentally.. Hmm. And I think I'll change the settings to option_file and option_group. They make more sense than default_*.
RSS Feed