Re: DBI::DBD: Should DESTROY() call finish()?

2004-12-06 Thread Tim Bunce
On Mon, Dec 06, 2004 at 09:46:06AM +0100, Steffen Goeldner wrote: > DBI::DBD informs us that > > The DBI Driver.xst code will call dbd_st_finish for you, if the > sth has the ACTIVE flag set, before calling dbd_st_destroy. > > However, a pure perl DBD doesn't operate in such a luxurious > env

DBI::DBD: Should DESTROY() call finish()?

2004-12-06 Thread Steffen Goeldner
DBI::DBD informs us that The DBI Driver.xst code will call dbd_st_finish for you, if the sth has the ACTIVE flag set, before calling dbd_st_destroy. However, a pure perl DBD doesn't operate in such a luxurious environment, e.g. use DBI(); $sql = 'select * from .'; $dbh = DBI->connect('dbi