Browse Source

Bug 22518: (QA follow-up) Add rows updated to feedback

Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
Martin Renvoize 5 years ago
committed by Nick Clemens
parent
commit
cd4858918f
  1. 20
      installer/data/mysql/atomicupdate/bug_22518.perl

20
installer/data/mysql/atomicupdate/bug_22518.perl

@ -1,16 +1,16 @@
$DBversion = 'XXX'; # will be replaced by the RM $DBversion = 'XXX'; # will be replaced by the RM
if ( CheckVersion($DBversion) ) { if ( CheckVersion($DBversion) ) {
$dbh->do( my $rows = $dbh->do(
qq{ qq{
UPDATE `accountlines` UPDATE `accountlines`
SET SET
`accounttype` = 'FU' `accounttype` = 'FU'
WHERE WHERE
`accounttype` = 'O' `accounttype` = 'O'
} }
); );
SetVersion($DBversion); 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;
} }

Loading…
Cancel
Save