On Fri, 6 Jun 2003, Tim Bunce wrote:
> On Fri, May 30, 2003 at 12:13:17PM -0400, Rudy Lippan wrote:
> > On Thu, 29 May 2003, Tim Bunce wrote:
> >
> > > > Right now this attribute defaults to
> > > > ON for backward compatibility; however, the default behaviour
> > > > may change so that auto_reconnect only defaults to on
> > > > in a mod_perl env.
> > >
> > > I hope it will before the release. The current behaviour is unsafe for
> > > any application using locks.
> >
> > OK. I agree with you. -- The reason why I left the behaviour the way
> > it was is because do do that you have override the mysql library connect
> > defaults.
>
> On a vagely related topic, I think mysql_client_found_rows=1 should
> also be the default.
>
It can be, even in the current version. There is a compile time option
for it, but I don't think it is documented [This should be fixed,
though ;) ].
>From dbdimp.c:
#ifdef MYSQL_DONT_USE_CLIENT_FOUND_ROWS
unsigned int client_flag = 0;
#else
unsigned int client_flag = CLIENT_FOUND_ROWS;
#endif
Do you want me to flip the default and/or put this in a std attribute?
Rudy