[Koha-bugs] [Bug 14375] New: DBIx::Connector should be stored in C4::Context instead of dbh

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Jun 10 15:05:30 CEST 2015


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

            Bug ID: 14375
           Summary: DBIx::Connector should be stored in C4::Context
                    instead of dbh
 Change sponsored?: ---
           Product: Koha
           Version: master
          Hardware: All
                OS: All
            Status: NEW
          Severity: major
          Priority: P5 - low
         Component: Architecture, internals, and plumbing
          Assignee: gmcharlt at gmail.com
          Reporter: fridolyn.somers at biblibre.com
        QA Contact: testopia at bugs.koha-community.org

DBIx::Connector doc about $conn->dbh() indicates he will manage database
handler cache and reconnection :
http://search.cpan.org/perldoc?DBIx%3A%3AConnector#dbh

So C4::Context should not store dbh object but DBIx::Connector object and get
handler from it.

We experimented issues with SIP server, since its database connections will run
all day long.
Looks like DBIx::Connector manages very well the reconnection.

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


More information about the Koha-bugs mailing list