[koha-commits] main Koha release repository branch master updated. v3.12.00-beta1-839-g2bab95c

Git repo owner gitmaster at git.koha-community.org
Thu Jul 18 17:19:10 CEST 2013


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  2bab95cac5f43b034adec36ec62a8c8f7f520627 (commit)
      from  b77af9326232d8512527040c4984b7bdc167c388 (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 2bab95cac5f43b034adec36ec62a8c8f7f520627
Author: Galen Charlton <gmc at esilibrary.com>
Date:   Tue Jul 9 17:53:16 2013 +0000

    bug 10559: remove spurious "statement handle still active" warnings
    
    Generating (e.g.) overdue notices can result in spurious warnings in
    the cronjob logs:
    
    $ ./misc/cronjobs/overdue_notices.pl -t -library CPL
    prepare_cached(SELECT * FROM issues WHERE     itemnumber = ?) statement handle DBI::st=HASH(0x54a7828) still Active at C4/Letters.pm line 589
    
    This patch removes the warning by making sure that the relevant statement
    handle is finished after fetching its first row of results.
    
    To test:
    
    [1] Set up an overdue loan such that running overdue_notices.pl will
        trigger the generation of a notice.
    [2] Run overdue_notices.pl -t and note the warning message.
    [3] Apply the patch.
    [4] Run overdue_notices.pl -t again and note that the warning message
        is no longer displayed.
    [5] Check the message_queue table and verify that the overdue
        notices generated in steps 2 and 4 have the same text.
    
    Signed-off-by: Galen Charlton <gmc at esilibrary.com>
    Signed-off-by: Srdjan <srdjan at catalyst.net.nz>
    Signed-off-by: Jonathan Druart <jonathan.druart at biblibre.com>
    Signed-off-by: Galen Charlton <gmc at esilibrary.com>

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

Summary of changes:
 C4/Letters.pm |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)


hooks/post-receive
-- 
main Koha release repository


More information about the koha-commits mailing list