Re: connected() doesn't get all attributes

2005-06-22 Thread Peter Scott
On Tue, 21 Jun 2005 21:42:42 +0100, Tim Bunce wrote: On Tue, Jun 21, 2005 at 06:46:03AM -0700, Peter Scott wrote: - $dbh-connected($dsn, $user, $pass, $attr) if ref $dbh ne 'DBI::db'; +# We'll normalize the dsn first + $dbh-connected(dbi:$driver($driver_attrib_spec):$dsn

Re: connected() doesn't get all attributes

2005-06-21 Thread Peter Scott
On Tue, 21 Jun 2005 01:13:21 +0100, Tim Bunce wrote: On Sun, Jun 19, 2005 at 06:16:25AM -0700, Peter Scott wrote: On Sat, 18 Jun 2005 15:34:36 +0100, Tim Bunce wrote: On Fri, Jun 17, 2005 at 05:49:01PM -0700, Peter Scott wrote: The connected() method of subclasses doesn't get all

Re: connected() doesn't get all attributes

2005-06-19 Thread Peter Scott
On Sat, 18 Jun 2005 15:34:36 +0100, Tim Bunce wrote: On Fri, Jun 17, 2005 at 05:49:01PM -0700, Peter Scott wrote: The connected() method of subclasses doesn't get all the attribute that were set by the caller; three of them are deleted first: [snip] I'd rather like to get those attributes

connected() doesn't get all attributes

2005-06-17 Thread Peter Scott
off so you can't tell which driver was used. That information would be most valuable to my application. It does seem from reading the documentation as though the expectation is that connected() will get the same arguments as connect(), so would a patch for this be accepted also? -- Peter Scott