On Mon, 9 Jun 2003, Tim Bunce wrote:

> On Mon, Jun 09, 2003 at 01:11:18AM -0400, Rudy Lippan wrote:
> > 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.
> 
> Ah, but you can now do it via an attribute...
> 
> The attribute ref is passed into the dbd_db_login6() function via
> Driver.xst so attributes can be handled at connect time.
> 
> All mysql connect-time options should be settable via connect-time
> attributes (can make them read-only after that by deleting them
> from the attribute hash and having STORE croak on them).
> 

Switching over to dbd_db_login6 is already on the list :) But I'd like to 
get this version up.  Right now, I just need to test the change to 
found_rows, and then I will spin another beta, and if that looks good, 
upload it to CPAN.

> > Oh and BTW, this is already
> > configurable on the connect string 'mysql_found_rows=1'.
> 
> Sure, but the problem is that editing the DSN in generic code is tricky.
> (Class::DBI is an example).

Tell me about it!


Rudy

Reply via email to