Bug 11954 - Clean up currency default files
commitfe29603318a559b90ba302437e92315a16a41042
authorMark Tompsett <mtompset@hotmail.com>
Wed, 19 Nov 2014 18:28:12 +0000 (19 13:28 -0500)
committerChris Cormack <chris@bigballofwax.co.nz>
Sat, 14 Feb 2015 06:57:02 +0000 (14 19:57 +1300)
tree3cc583dec39bc65b012dc6e2d50447b4380c7134
parent5a310c03ddfff8880c7d607750bc8f52e1f3e5bc
Bug 11954 - Clean up currency default files

It makes no sense to have TRUNCATE or foreign key checks.

TEST PLAN
---------
1) Back up your database
2) in an mysql client:
     use kohadata;
     SET FOREIGN_KEY_CHECKS=0;
     TRUNCATE currency;
     source /home/mtompset/kohaclone/installer/data/mysql/ru-RU/optional/sample_currency.sql
     SET FOREIGN_KEY_CHECKS=0;
     TRUNCATE currency;
     source /home/mtompset/kohaclone/installer/data/mysql/uk-UA/optional/sample_currency.sql
     SET FOREIGN_KEY_CHECKS=0;
     TRUNCATE currency;
     source /home/mtompset/kohaclone/installer/data/mysql/it-IT/necessari/parameters.sql
     SET FOREIGN_KEY_CHECKS=1;
     QUIT
   -- These should all work without problem.

Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
(cherry picked from commit 3cf719433597ad6bf558950270cd564a62164ab4)
Signed-off-by: Chris Cormack <chris@bigballofwax.co.nz>
installer/data/mysql/it-IT/necessari/parameters.sql
installer/data/mysql/ru-RU/optional/sample_currency.sql
installer/data/mysql/uk-UA/optional/sample_currency.sql