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
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;
}

Loading…
Cancel
Save