execute not seen on selectrow_* for suclassed DBI
- From: martin.evans@xxxxxxxxxxxx (Martin J. Evans)
- Date: Wed, 29 Mar 2006 11:32:12 +0100 (BST)
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 prepare and pass it on, but do not see execute. In my case this is more
than an annoyance as I cannot see any bound parameter passed to execute.
e.g.
$selectrow_array = [
'select b from mytest where a = ?',
undef,
\1
];
prepare: select b from mytest where a = ?
!!! no execute here
Or, perhaps I'm doing something wrong.
Can anyone tell me if I should be seeing the execute when $dbh->select*** is
called? I think I should.
Thanks
Martin
--
Martin J. Evans
Easysoft Ltd, UK
http://www.easysoft.com
.
- Follow-Ups:
- RE: execute not seen on selectrow_* for suclassed DBI
- From: Martin J. Evans
- RE: execute not seen on selectrow_* for suclassed DBI
- Prev by Date: Re: Message from Maintainer to DBD::mysql users, developers
- Next by Date: RE: execute not seen on selectrow_* for suclassed DBI
- Previous by thread: Re: Message from Maintainer to DBD::mysql users, developers
- Next by thread: RE: execute not seen on selectrow_* for suclassed DBI
- Index(es):
Relevant Pages
|