[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 19:28:47 CEST 2013


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

Bernardo Gonzalez Kriegel <bgkriegel at gmail.com> changed:

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

--- Comment #13 from Bernardo Gonzalez Kriegel <bgkriegel at gmail.com> ---
Created attachment 21668
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=21668&action=edit
[SIGNED-OFF] 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.

Signed-off-by: Bernardo Gonzalez Kriegel <bgkriegel at gmail.com>

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


More information about the Koha-bugs mailing list