[koha-commits] main Koha release repository branch 3.10.x updated. v3.08.00-1381-g9ff562a
Git repo owner
gitmaster at git.koha-community.org
Wed Dec 5 03:47:04 CET 2012
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, 3.10.x has been updated
via 9ff562ab8f9e4ae7e47651e7fcfda1033dbcbbb6 (commit)
from 5d4780b90a5633133b8f99f1b5911cb30c4d52d0 (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 9ff562ab8f9e4ae7e47651e7fcfda1033dbcbbb6
Author: Jared Camins-Esakov <jcamins at cpbibliography.com>
Date: Fri Nov 23 12:30:26 2012 -0500
Bug 9135: updatedatabase.pl fails when DEBUG is set
When the DEBUG environment variable is set to a true value, all DBI
errors are treated as fatal. Unfortunately, duplicate keys are
incredibly common in updatedatabase.pl, since sysprefs are often added
in testing, then re-added once the patches have been pushed to master
(or added when on a maintenance branch, and then re-added when the
system is upgraded to either a newer maintenance branch or master).
This patch disables fatal errors for the updatedatabase.pl script.
Signed-off-by: Katrin Fischer <Katrin.Fischer.83 at web.de>
All tests and perlcritic pass.
To test, run from command line:
export DEBUG=1
installer/data/mysql/updatedatabase.pl
Signed-off-by: Jonathan Druart <jonathan.druart at biblibre.com>
If a query causes an error, the script continues as expected.
Signed-off-by: Jared Camins-Esakov <jcamins at cpbibliography.com>
Signed-off-by: Chris Cormack <chrisc at catalyst.net.nz>
-----------------------------------------------------------------------
Summary of changes:
installer/data/mysql/updatedatabase.pl | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
hooks/post-receive
--
main Koha release repository
More information about the koha-commits
mailing list