From a39528c328bb0e18a92c2013c837b8c4ed608e9e Mon Sep 17 00:00:00 2001 From: Martin Renvoize 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 --- .../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..64226bd75c 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"; + print "Upgrade to $DBversion done (Bug 22518 - Fix accounttype 'O' to 'FU' - $rows updated)\n"; } -- 2.20.1