On Fri, 6 Jun 2003, Tim Bunce wrote:
> On Fri, Jun 06, 2003 at 02:56:12PM -0400, Rudy Lippan wrote:
> > On Fri, 6 Jun 2003, Tim Bunce wrote:
> > 
> > > 
> > > 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?
> 
> Both, thanks. Needs to be made clear in the change notes of course.

I changed DBD::mysql to default to CLIENT_FOUND_ROWS on connect.

And now I remember why I did not create an attribute for it.  
CLINET_FOUND_ROWS is a connect-time option, so it does no good to create a
dbh attribute to change the value.  Oh and BTW, this is already
configurable on the connect string 'mysql_found_rows=1'.

Rudy

Reply via email to