[Koha-patches] [PATCH] Bug Fix : Creating a new authority type would fail on creating subfield_structure

MJ Ray mjr at phonecoop.coop
Wed May 21 10:57:26 CEST 2008


"Galen Charlton" <galen.charlton at liblime.com> wrote: [...]
> I think it's worth deleting that line instead of just commenting it
> out.  I can think of no good reason why scripts should be explicitly
> closing the DB handle.

As I understand it, some database drivers will rollback any changes
made if the DB handle is DESTROYed rather than a commit/disconnect.
Not a problem while MySQL is the main game, but could hurt later.
Also, how does mod_perl behave if you don't disconnect?

Hope that helps,
-- 
MJ Ray (slef)
Webmaster for hire, statistician and online shop builder for a small
worker cooperative http://www.ttllp.co.uk/ http://mjr.towers.org.uk/
(Notice http://mjr.towers.org.uk/email.html) tel:+44-844-4437-237



More information about the Koha-patches mailing list