[koha-commits] main Koha release repository branch 18.05.x updated. v18.05.10-2-g2e8092c

Git repo owner gitmaster at git.koha-community.org
Tue Mar 5 16:45:04 CET 2019


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, 18.05.x has been updated
       via  2e8092c678a608fa045aa9a9dce78c64bc8bc4be (commit)
      from  0dd262a02eb162da2636c420c7d988adaa1640d8 (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 2e8092c678a608fa045aa9a9dce78c64bc8bc4be
Author: Magnus Enger <magnus at libriotech.no>
Date:   Mon Feb 11 11:07:21 2019 +0100

    Bug 12488: Make bulkmarcimport.pl -d use DELETE instead of TRUNCATE
    
    On MySQL >= 5.5 bulkmarcimport.pl with the -d (delete) switch gives
    an error like "Cannot truncate a table referenced in a foreign
    key constraint". This patch proposes to replace the offending
    TRUNCATE with DELETE. Auto incerement counters are reset to 1 to
    preserve the functionality from TRUNCATE.
    
    To test:
    - Make sure you havae a test database with some records and items
    - Run bulkmarcimport.pl with the -d switch
    - Observe the error described above
    - Apply this patch
    - Run bulkmarcimport.pl with the -d switch again
    - Observe the lack of an error
    - Verify that the newly imported records and items have biblionumber
      and itemnumbers starting with 1
    
    Signed-off-by: Martin Renvoize <martin.renvoize at ptfs-europe.com>
    
    Signed-off-by: Marcel de Rooy <m.de.rooy at rijksmuseum.nl>
    
    Signed-off-by: Nick Clemens <nick at bywatersolutions.com>
    (cherry picked from commit b7b4694666657f57aaf61d091ed34c9f754a11e3)
    Signed-off-by: Martin Renvoize <martin.renvoize at ptfs-europe.com>
    (cherry picked from commit 1e65ab6f7fe986979efedea4577f29b8c1e3723e)
    
    Signed-off-by: Lucas Gass <lucas at bywatersolutions.com>

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

Summary of changes:
 misc/migration_tools/bulkmarcimport.pl |    9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)


hooks/post-receive
-- 
main Koha release repository


More information about the koha-commits mailing list