[Koha-bugs] [Bug 10611] C4::Context->dbh checks if the DB is still running

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Sep 30 13:48:32 CEST 2013


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=10611

Jonathan Druart <jonathan.druart at biblibre.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #21655|0                           |1
        is obsolete|                            |

--- Comment #10 from Jonathan Druart <jonathan.druart at biblibre.com> ---
Created attachment 21656
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=21656&action=edit
Bug 10611: add a "new" parameter to C4::Context->dbh

When dbh->disconnect is called and the mysql_auto_reconnect flag is set,
the dbh is not recreated: the old one is used.

Adding a new flag, we can now force the C4::Context->dbh method to
return a new dbh.

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list