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

Git repo owner gitmaster at git.koha-community.org
Wed Oct 2 16:22:15 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  090ba4902cbd04634caa5fd507a2672b0987d795 (commit)
      from  561107bb5b348eaa14054e3470f39ff9cf080d22 (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 090ba4902cbd04634caa5fd507a2672b0987d795
Author: Bernardo Gonzalez Kriegel <bgkriegel at gmail.com>
Date:   Sat Sep 28 16:24:50 2013 -0300

    Bug 10965: fix breakage when loading sample itemtypes during install
    
    Bug 10513 added two columns to table itemtypes,
    but sample_itemtypes can't be loaded because
    it relies on old structure.
    
    This patch rewrites sample_itemtypes.sql, stating
    explicitly columns, removing backticks and consolidates
    all in one insertion.
    
    To test:
    1) On master with current DB structure, delete item types
    
    2) try loading sample_itemtyes.sql
    It fails with "ERROR 1136 (21S01) at line 1: Column count doesn't match value count at row 1"
    
    3) apply patch
    
    4) try again, this time it will load and itemtypes created
    
    Signed-off-by: Chris Cormack <chris at bigballofwax.co.nz>
    Signed-off-by: Katrin Fischer <Katrin.Fischer.83 at web.de>
    SQL change only.
    Tested by running the web installer on an empty database.
    All sample data loads without errors.
    
    Signed-off-by: Galen Charlton <gmc at esilibrary.com>

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

Summary of changes:
 installer/data/mysql/en/optional/sample_itemtypes.sql |   17 +++++++++--------
 1 file changed, 9 insertions(+), 8 deletions(-)


hooks/post-receive
-- 
main Koha release repository


More information about the koha-commits mailing list