Re: [dbi] Re: execute not seen on selectrow_* for suclassed DBI

2006-03-29 Thread Martin J. Evans
Tim Bunce wrote: On Wed, Mar 29, 2006 at 09:02:43PM +0100, Martin J. Evans wrote: Thanks Tim. I'm now hopefully looking in the right places. Not seeing execute on a selectrow_array threw me initially but it is an example of the problems I'm seeing. I'm having a few problems accessing things a

Re: [dbi] Re: execute not seen on selectrow_* for suclassed DBI

2006-03-29 Thread Tim Bunce
On Wed, Mar 29, 2006 at 09:02:43PM +0100, Martin J. Evans wrote: > Thanks Tim. I'm now hopefully looking in the right places. > > Not seeing execute on a selectrow_array threw me initially > but it is an example of the problems I'm seeing. > > I'm having a few problems accessing things at the time

Re: [dbi] Re: execute not seen on selectrow_* for suclassed DBI

2006-03-29 Thread Martin J. Evans
Thanks Tim. I'm now hopefully looking in the right places. Not seeing execute on a selectrow_array threw me initially but it is an example of the problems I'm seeing. I'm having a few problems accessing things at the time I want. e.g. execute_array can be called with the parameters (which I wan

Re: [dbi] Re: execute not seen on selectrow_* for suclassed DBI

2006-03-29 Thread Tim Bunce
On Wed, Mar 29, 2006 at 04:49:32PM +0100, Martin J. Evans wrote: > Tim, > > Thanks, I do keep forgetting about Driver.xst. > > So, just to be clear. In DBI.pm, selectrow_array calls _do_selectrow which > calls prepare/execute/fetchsomething but this may be overriden by a driver > using selectrow_

RE: [dbi] Re: execute not seen on selectrow_* for suclassed DBI

2006-03-29 Thread Martin J. Evans
Tim, Thanks, I do keep forgetting about Driver.xst. So, just to be clear. In DBI.pm, selectrow_array calls _do_selectrow which calls prepare/execute/fetchsomething but this may be overriden by a driver using selectrow_array in Driver.xst. If this is the case: a) is there any way for my subclasse

Re: execute not seen on selectrow_* for suclassed DBI

2006-03-29 Thread Tim Bunce
On Wed, Mar 29, 2006 at 11:54:32AM +0100, Martin J. Evans wrote: > The issue I am seeing is not quite as general as I made it sound. For > selectrow_hashref I see prepare/execute/fetch/fetchrow_hashref (as I expect) > but > for selectrow_arrayref and selectrow_array I only see prepare. Generally.

RE: execute not seen on selectrow_* for suclassed DBI

2006-03-29 Thread Martin J. Evans
The issue I am seeing is not quite as general as I made it sound. For selectrow_hashref I see prepare/execute/fetch/fetchrow_hashref (as I expect) but for selectrow_arrayref and selectrow_array I only see prepare. Martin -- Martin J. Evans Easysoft Ltd, UK http://www.easysoft.com On 29-Mar-2006

execute not seen on selectrow_* for suclassed DBI

2006-03-29 Thread Martin J. Evans
Hi, I have subclassed DBI and override many methods including prepare, execute and select* although they are predominantly just passed on to DBI. If I do: my $sth->prepare(sql); $sth->execute; I see the prepare and execute and pass them on to DBI. If I do: $dbh->selectrow_array(sql); I see p