Bugzilla – Attachment 87186 Details for
Bug 22518
accounttype 'O' is still referred to but is never set
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 22518: (QA follow-up) Add rows updated to feedback
Bug-22518-QA-follow-up-Add-rows-updated-to-feedbac.patch (text/plain), 1.38 KB, created by
Martin Renvoize (ashimema)
on 2019-03-29 11:30:10 UTC
(
hide
)
Description:
Bug 22518: (QA follow-up) Add rows updated to feedback
Filename:
MIME Type:
Creator:
Martin Renvoize (ashimema)
Created:
2019-03-29 11:30:10 UTC
Size:
1.38 KB
patch
obsolete
>From b34545bb2a935bebe2b3b4f9c44daaa38b026991 Mon Sep 17 00:00:00 2001 >From: Martin Renvoize <martin.renvoize@ptfs-europe.com> >Date: Fri, 29 Mar 2019 10:46:47 +0000 >Subject: [PATCH] Bug 22518: (QA follow-up) Add rows updated to feedback > >Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> >--- > .../data/mysql/atomicupdate/bug_22518.perl | 20 +++++++++---------- > 1 file changed, 10 insertions(+), 10 deletions(-) > >diff --git a/installer/data/mysql/atomicupdate/bug_22518.perl b/installer/data/mysql/atomicupdate/bug_22518.perl >index 4d975d9b62..e0b924c988 100644 >--- a/installer/data/mysql/atomicupdate/bug_22518.perl >+++ b/installer/data/mysql/atomicupdate/bug_22518.perl >@@ -1,16 +1,16 @@ > $DBversion = 'XXX'; # will be replaced by the RM > if ( CheckVersion($DBversion) ) { > >- $dbh->do( >- qq{ >- UPDATE `accountlines` >- SET >- `accounttype` = 'FU' >- WHERE >- `accounttype` = 'O' >- } >- ); >+ my $rows = $dbh->do( >+ qq{ >+ UPDATE `accountlines` >+ SET >+ `accounttype` = 'FU' >+ WHERE >+ `accounttype` = 'O' >+ } >+ ); > > SetVersion($DBversion); >- print "Upgrade to $DBversion done (Bug 22518 - Fix accounttype 'O' to 'FU')\n"; >+ printf "Upgrade to $DBversion done (Bug 22518 - Fix accounttype 'O' to 'FU' - %d updated)\n", $rows; > } >-- >2.20.1
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 22518
:
86671
|
86672
|
87019
|
87020
|
87171
|
87172
|
87174
| 87186