[PATCH] Apache::DBI - AutoCommit => 1 and begin_work (inc example)

2003-06-12 Thread Patrick Mulvany
Hi, Came accross a bug when when trying to reduce creation of handles on a site. Currently Apache::DBI makes the assumption that it AutoCommit => 1 then the handle does not need cleaning up. This is not neccessariliy true as begin_work switches off the AutoCommit for one transaction. First tim

Re: [PATCH] Apache::DBI - AutoCommit => 1 and begin_work

2003-06-10 Thread Stas Bekman
Patrick Mulvany wrote: Hi, Came accross an issue when trying to reduce creation of handles on a site. Currently Apache::DBI makes the assumption that it AutoCommit => 1 then the handle does not need cleaning up. This is not neccessariliy true as begin_work switches of the AutoCommit for one trans

[PATCH] Apache::DBI - AutoCommit => 1 and begin_work

2003-06-10 Thread Patrick Mulvany
Hi, Came accross an issue when trying to reduce creation of handles on a site. Currently Apache::DBI makes the assumption that it AutoCommit => 1 then the handle does not need cleaning up. This is not neccessariliy true as begin_work switches of the AutoCommit for one transaction. To be safe t