]> git.koha-community.org Git - koha.git/commit
Bug 11954 - Clean up currency default files
authorMark Tompsett <mtompset@hotmail.com>
Wed, 19 Nov 2014 18:28:12 +0000 (13:28 -0500)
committerMason James <mtj@kohaaloha.com>
Thu, 26 Feb 2015 04:35:33 +0000 (17:35 +1300)
commit06c173efd58ea46da21a7e4a68247704e42b3733
tree25c5e5ba012589380fb30811b922fbc6a909c945
parent53098ad2efa15c5113a17d810318af8deb98c4f8
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: Mason James <mtj@kohaaloha.com>
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