Re: DBD::DB2 execute and finish problem

2006-06-09 Thread Martin J. Evans
On 09-Jun-2006 Dan Scott wrote: > WAG here: will the DBD::DB2 driver implicitly finish the resources if > you try calling $sth->fetchrow_array() again? Yes. > I don't know if DBD::DB2 can know whether there are more rows left in > the result set until you try fetching the next row, ergo it keeps

Re: DBD::DB2 execute and finish problem

2006-06-09 Thread Dan Scott
WAG here: will the DBD::DB2 driver implicitly finish the resources if you try calling $sth->fetchrow_array() again? I don't know if DBD::DB2 can know whether there are more rows left in the result set until you try fetching the next row, ergo it keeps the statement handle active. Dan On 09/06/0