Bugzilla – Attachment 35618 Details for
Bug 11954
Clean up currency default files
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
[PASSED QA] Bug 11954 - Clean up currency default files
PASSED-QA-Bug-11954---Clean-up-currency-default-fi.patch (text/plain), 2.84 KB, created by
Kyle M Hall (khall)
on 2015-01-30 12:28:07 UTC
(
hide
)
Description:
[PASSED QA] Bug 11954 - Clean up currency default files
Filename:
MIME Type:
Creator:
Kyle M Hall (khall)
Created:
2015-01-30 12:28:07 UTC
Size:
2.84 KB
patch
obsolete
>From 5e9f6288c0b70822218862fd0219726f14ef3466 Mon Sep 17 00:00:00 2001 >From: Mark Tompsett <mtompset@hotmail.com> >Date: Wed, 19 Nov 2014 13:28:12 -0500 >Subject: [PATCH] [PASSED QA] 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> >--- > .../data/mysql/it-IT/necessari/parameters.sql | 4 ---- > .../data/mysql/ru-RU/optional/sample_currency.sql | 2 -- > .../data/mysql/uk-UA/optional/sample_currency.sql | 2 -- > 3 files changed, 0 insertions(+), 8 deletions(-) > >diff --git a/installer/data/mysql/it-IT/necessari/parameters.sql b/installer/data/mysql/it-IT/necessari/parameters.sql >index 806bba7..6fc7c51 100644 >--- a/installer/data/mysql/it-IT/necessari/parameters.sql >+++ b/installer/data/mysql/it-IT/necessari/parameters.sql >@@ -1,8 +1,4 @@ >-SET FOREIGN_KEY_CHECKS=0; >- > INSERT INTO `currency` (currency, rate, symbol, active) VALUES > ('USD', 1.4, '$', 0), > ('GBP', .8, '£', 0), > ('EUR', 1, 'â¬', 1); >- >-SET FOREIGN_KEY_CHECKS=1; >diff --git a/installer/data/mysql/ru-RU/optional/sample_currency.sql b/installer/data/mysql/ru-RU/optional/sample_currency.sql >index 87af401..6f2eb87 100644 >--- a/installer/data/mysql/ru-RU/optional/sample_currency.sql >+++ b/installer/data/mysql/ru-RU/optional/sample_currency.sql >@@ -1,5 +1,3 @@ >-TRUNCATE currency; >- > INSERT INTO `currency` (`currency`, `symbol`, `timestamp`, `rate`, active) VALUES ('CAD','$','2009-01-23 08:15:20',6.157690, 0); > > INSERT INTO `currency` (`currency`, `symbol`, `timestamp`, `rate`, active) VALUES ('EUR','â¬','2009-01-23 08:15:20',9.852920, 0); >diff --git a/installer/data/mysql/uk-UA/optional/sample_currency.sql b/installer/data/mysql/uk-UA/optional/sample_currency.sql >index 87af401..6f2eb87 100644 >--- a/installer/data/mysql/uk-UA/optional/sample_currency.sql >+++ b/installer/data/mysql/uk-UA/optional/sample_currency.sql >@@ -1,5 +1,3 @@ >-TRUNCATE currency; >- > INSERT INTO `currency` (`currency`, `symbol`, `timestamp`, `rate`, active) VALUES ('CAD','$','2009-01-23 08:15:20',6.157690, 0); > > INSERT INTO `currency` (`currency`, `symbol`, `timestamp`, `rate`, active) VALUES ('EUR','â¬','2009-01-23 08:15:20',9.852920, 0); >-- >1.7.2.5
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 11954
:
33688
|
35579
| 35618