Bugzilla – Attachment 114965 Details for
Bug 27349
Mana system preference wrong type YesNo
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 27349: (QA follow-up) Move DB update to perl file and add description
Bug-27349-QA-follow-up-Move-DB-update-to-perl-file.patch (text/plain), 1.40 KB, created by
Nick Clemens (kidclamp)
on 2021-01-08 14:38:49 UTC
(
hide
)
Description:
Bug 27349: (QA follow-up) Move DB update to perl file and add description
Filename:
MIME Type:
Creator:
Nick Clemens (kidclamp)
Created:
2021-01-08 14:38:49 UTC
Size:
1.40 KB
patch
obsolete
>From 689c223cb681b05ccca96448db4d5cfa5c07eca7 Mon Sep 17 00:00:00 2001 >From: Nick Clemens <nick@bywatersolutions.com> >Date: Fri, 8 Jan 2021 14:37:30 +0000 >Subject: [PATCH] Bug 27349: (QA follow-up) Move DB update to perl file and add > description > >Signed-off-by: Nick Clemens <nick@bywatersolutions.com> >--- > installer/data/mysql/atomicupdate/bug_27349.perl | 5 +++++ > installer/data/mysql/atomicupdate/bug_27349.sql | 1 - > 2 files changed, 5 insertions(+), 1 deletion(-) > create mode 100644 installer/data/mysql/atomicupdate/bug_27349.perl > delete mode 100644 installer/data/mysql/atomicupdate/bug_27349.sql > >diff --git a/installer/data/mysql/atomicupdate/bug_27349.perl b/installer/data/mysql/atomicupdate/bug_27349.perl >new file mode 100644 >index 0000000000..e12325b396 >--- /dev/null >+++ b/installer/data/mysql/atomicupdate/bug_27349.perl >@@ -0,0 +1,5 @@ >+$DBversion = 'XXX'; >+if( CheckVersion( $DBversion ) ) { >+ $dbh->do(q{UPDATE systempreferences SET `type` = 'Choice' WHERE `variable` = 'Mana'}); >+ NewVersion( $DBversion, 27349, "Update type for Mana sytem preference to Choice"); >+} >diff --git a/installer/data/mysql/atomicupdate/bug_27349.sql b/installer/data/mysql/atomicupdate/bug_27349.sql >deleted file mode 100644 >index 23324f7a00..0000000000 >--- a/installer/data/mysql/atomicupdate/bug_27349.sql >+++ /dev/null >@@ -1 +0,0 @@ >-UPDATE systempreferences SET `type` = 'Choice' WHERE `variable` = 'Mana'; >-- >2.11.0
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 27349
:
114886
|
114887
|
114964
| 114965