[koha-commits] main Koha release repository branch master updated. v16.11.00-165-g435b7ba

Git repo owner gitmaster at git.koha-community.org
Wed Jan 11 11:57:09 CET 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  435b7badc22d9c05cb16623d6f423206992ec476 (commit)
       via  8938631f38bb22456424219d3c3453493df6f848 (commit)
       via  0b15c5e2cc5d5a84b062c5c5738fe54ab5df98ab (commit)
       via  c08922180e83b0222dc3d54a292aaf49cc15000a (commit)
       via  4ea484677e7049ddb835fcc6d6f24a801f2eb6ba (commit)
       via  acf425bbbcb8c22f3655472f90285869c3ad7164 (commit)
      from  1c225986879648c326408b3ad10b3bcb498b2271 (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 435b7badc22d9c05cb16623d6f423206992ec476
Author: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
Date:   Mon Jan 2 11:36:53 2017 +0100

    Bug 17234: Test the column and constraint non-existence
    
    Signed-off-by: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
    
    Signed-off-by: Kyle M Hall <kyle at bywatersolutions.com>

commit 8938631f38bb22456424219d3c3453493df6f848
Author: Mark Tompsett <mtompset at hotmail.com>
Date:   Fri Dec 30 14:08:33 2016 -0500

    Bug 17234: Two new functions lack tests
    
    This adds two tests to t/db_dependent/Installer.t
    
    TEST PLAN
    ---------
    1) Apply patch
    2) prove -v t/db_dependent/Installer.t
       -- column and constraint tests were added.
    3) run koha qa test tools
    
    Signed-off-by: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
    
    Signed-off-by: Kyle M Hall <kyle at bywatersolutions.com>

commit 0b15c5e2cc5d5a84b062c5c5738fe54ab5df98ab
Author: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
Date:   Tue Sep 27 08:28:09 2016 +0100

    Bug 17234: Move new subroutines to C4::Installer
    
    Signed-off-by: Mark Tompsett <mtompset at hotmail.com>
    
    Signed-off-by: Kyle M Hall <kyle at bywatersolutions.com>

commit c08922180e83b0222dc3d54a292aaf49cc15000a
Author: Jonathan Druart <jonathan.druart at bugs.koha-community.org>
Date:   Tue Sep 20 16:55:40 2016 +0100

    Bug 17234: Add constraint_exists and column_exists to updatedatabase.pl
    
    These 2 subroutines will help us deal with the absense of ALTER IGNORE
    TABLE
    
    Signed-off-by: Mark Tompsett <mtompset at hotmail.com>
    
    Signed-off-by: Mark Tompsett <mtompset at hotmail.com>
    
    Signed-off-by: Kyle M Hall <kyle at bywatersolutions.com>

commit 4ea484677e7049ddb835fcc6d6f24a801f2eb6ba
Author: Mark Tompsett <mtompset at hotmail.com>
Date:   Mon Sep 19 14:27:14 2016 -0400

    Bug 17234: Follow up to handle new problems
    
    Bug 16276 added two more ALTER IGNORES. This removes them.
    
    Signed-off-by: Mark Tompsett <mtompset at hotmail.com>
    
    Signed-off-by: Kyle M Hall <kyle at bywatersolutions.com>

commit acf425bbbcb8c22f3655472f90285869c3ad7164
Author: Blou <philippe.blouin at inlibro.com>
Date:   Fri Sep 2 08:05:48 2016 -0400

    Bug 17234 - updatedatabase.pl's ALTER IGNORE break with mysql 5.7.4+
    
    The doc says: "As of MySQL 5.7.4, the IGNORE clause for ALTER TABLE is removed and its use produces an error."
    This fix replaces ALTER IGNORE with ALTER in updatedatabase.pl
    
    To TEST, try an upgrade from 3.18 to 3.22 after installing the latest mysql (at least 5.7.4, by the doc).
    Some will fail with error
    
    DBD::mysql::db do failed: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'IGNORE TABLE aqbasket
                ADD KEY authorisedby (authorisedby)' at line 1 [for Statement "
            ALTER IGNORE TABLE aqbasket
                ADD KEY authorisedby (authorisedby)
        "] at ./installer/data/mysql/updatedatabase.pl line 10563.
    
    0) Find a database on 3.18, save it.
    1) Set your code base to 3.22(or master)
    2) run updatedatabase.pl
    3) See the errors.
    4) Apply the patch
    5) Reload the 3.18 database
    6) succeed with updatedatabase.pl
    
    Signed-off-by: Mark Tompsett <mtompset at hotmail.com>
    
    Signed-off-by: Mark Tompsett <mtompset at hotmail.com>
    
    Signed-off-by: Kyle M Hall <kyle at bywatersolutions.com>

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

Summary of changes:
 C4/Installer.pm                        |   30 +++++
 installer/data/mysql/updatedatabase.pl |  196 ++++++++++++++++++++------------
 t/db_dependent/Installer.t             |   70 +++++++++---
 3 files changed, 207 insertions(+), 89 deletions(-)


hooks/post-receive
-- 
main Koha release repository


More information about the koha-commits mailing list