[koha-commits] main Koha release repository branch new/bug_6517 created. v3.04.00-477-gb3b6278

Git repo owner gitmaster at git.koha-community.org
Mon Sep 12 00:11:09 CEST 2011


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, new/bug_6517 has been created
        at  b3b6278e206be11ce3b5a8e271f7bccb70539ac5 (commit)

- Log -----------------------------------------------------------------
commit b3b6278e206be11ce3b5a8e271f7bccb70539ac5
Author: Magnus Enger <magnus at enger.priv.no>
Date:   Thu Jun 30 08:47:35 2011 +0200

    Bug 6517 - [REVISED] koha-create wants "use database" in DEFAULTSQL
    
    The revised patch quotes the variable $mysqldb, as suggested by Frère
    Sébastien Marie.
    
    This patch makes sure that pointing DEFAULTSQL in /etc/koha/koha-sites.conf
    to any (gzip'ed) file produced by mysqldump works, by adding the name of the
    database to the end of the call to mysql, when the specified SQL file is
    loaded. Files produced with koha-dump-defaults should still work too.
    
    To test:
    - Apply the patch
    - Create a new package with build-git-snapshot
    - Install the package
    - Create an SQL file from an existing installation with mysqldump
    - gzip the SQL file
    - point DEFAULTSQL to the file in /etc/koha/koha-sites.conf
    - create a new site with koha-create --create-db
    
    Signed-off-by: Chris Cormack <chrisc at catalyst.net.nz>

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


hooks/post-receive
-- 
main Koha release repository


More information about the koha-commits mailing list