[koha-commits] main Koha release repository branch master updated. v17.05.00-143-g9055729

Git repo owner gitmaster at git.koha-community.org
Wed Jun 21 19:24:47 CEST 2017


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "main Koha release repository".

The branch, master has been updated
       via  905572910b3af03d86fdbd3e52c72614f41c978b (commit)
      from  2702b4688e31e62fb6851b7979dc56011d38ce89 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 905572910b3af03d86fdbd3e52c72614f41c978b
Author: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
Date:   Wed Jun 21 14:14:09 2017 -0300

    Bug 18651: Do no LOCK/UNLOCK the table
    
    We cannot LOCK the old_issues table here, other tables are accessed and DBIx::Class rename it with "me":
    DBD::mysql::st execute failed: Table 'me' was not locked with LOCK
    TABLES [for Statement "SELECT `me`.`issue_id`, `me`.`borrowernumber`,
    `me`.`itemnumber`, `me`.`date_due`, `me`.`branchcode`,
    `me`.`returndate`, `me`.`lastreneweddate`, `me`.`renewals`,
    `me`.`auto_renew`, `me`.`auto_renew_error`, `me`.`timestamp`,
    `me`.`issuedate`, `me`.`onsite_checkout`, `me`.`note`, `me`.`notedate`
    FROM `old_issues` `me` WHERE ( `me`.`issue_id` = ? )" with ParamValues:
    0='2'] at /usr/share/perl5/DBIx/Class/Storage/DBI.pm line 1832.
    
    Consequence: We could have a checkin refused if there is a race, but
    this is the simplest and safest way to fix it.

-----------------------------------------------------------------------

Summary of changes:
 C4/Circulation.pm |    6 ------
 1 file changed, 6 deletions(-)


hooks/post-receive
-- 
main Koha release repository


More information about the koha-commits mailing list