Koha/installer/data/mysql
Kyle M Hall 954ed80534 Bug 16685 - Use eval instead of do for .perl atomicupdates
If we use eval instead of do for our .perl atomic update files, it will
allow developers to put in the exact code that should go into
updatedatabase.pl. The problem with do is that none of the variables
defined in updatadatabase.pl are available, whereas with eval they are.

Test Plan:
1) Apply this patch
2) Create a .perl file in atomicupdates with the following in it:
say "DBversion: $DBversion";
3) Run updatadatabase.pl
4) Note the output
5) Add a syntax error to your atomic update
6) Run updatedatabase.pl
7) Note the error is displayed

Signed-off-by: Aleisha Amohia <aleishaamohia@hotmail.com>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
2016-09-09 12:52:57 +00:00
..
atomicupdate Bug 16275 - DBRev 16.06.00.021 2016-09-09 12:04:50 +00:00
de-DE Bug 16472: Update MARC21 de-DE frameworks to update 22 (April 2016) 2016-06-24 13:41:13 +00:00
en Bug 16573: fix structure and sample data for MySQL 5.7 2016-08-01 09:39:14 +00:00
es-ES Bug 16470: Update MARC21 es-ES frameworks to Update 22 (April 2016) 2016-05-16 17:57:21 +00:00
fr-CA Bug 17064 - Delete backup marc21_framework_DEFAULT.sql~ file 2016-08-08 13:15:29 +00:00
fr-FR Bug 15086: Creators layout and template sql has warnings 2016-05-16 17:33:04 +00:00
it-IT Bug 16585: Update Italian installer sample files for 16.05 2016-08-05 06:11:11 +00:00
mandatory Bug 14048: (QA followup) Default to 1 if no default rule 2016-07-07 10:37:01 -06:00
nb-NO Bug 15086: Creators layout and template sql has warnings 2016-05-16 17:33:04 +00:00
pl-PL Bug 14199: Modify webinstaller sql files for marc21_orgcode plugin 2016-02-26 14:04:30 +00:00
ru-RU Bug 15086: Creators layout and template sql has warnings 2016-05-16 17:33:04 +00:00
uk-UA Bug 15086: Creators layout and template sql has warnings 2016-05-16 17:33:04 +00:00
audio_alerts.sql Bug 11431: (QA followup) Make audio alerts sql top level 2015-11-04 12:33:53 -03:00
backfill_statistics.pl Bug 16011: $VERSION - Remove comments 2016-03-24 17:20:29 +00:00
kohastructure.sql Bug 15839: Koha::Reviews - Change default value for approved to 0 2016-09-09 10:29:57 +00:00
labels_upgrade.pl Bug 9978: Replace license header with the correct license (GPLv3+) 2015-04-20 09:59:38 -03:00
patroncards_upgrade.pl Bug 9978: Replace license header with the correct license (GPLv3+) 2015-04-20 09:59:38 -03:00
sysprefs.sql Bug 16275: Add the new pref PatronSelfRegistrationEmailMustBeUnique 2016-09-09 11:57:54 +00:00
update22to30.pl Bug 11398: A typo occurred with occured 2014-01-02 15:12:48 +00:00
updatedatabase.pl Bug 16685 - Use eval instead of do for .perl atomicupdates 2016-09-09 12:52:57 +00:00
userflags.sql Bug 13632: Populate user_flags and permissions tables in the web installer 2015-10-19 09:38:04 -03:00
userpermissions.sql Bug 7736: Support Ordering via Edifact EDI messages 2016-04-01 20:03:17 +00:00