Bug 6759: Update existing accountlines for 'A'
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com> Signed-off-by: Maryse Simard <maryse.simard@inlibro.com> Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
This commit is contained in:
parent
839c095b54
commit
129223040f
1 changed files with 15 additions and 0 deletions
15
installer/data/mysql/atomicupdate/bug_6759.perl
Normal file
15
installer/data/mysql/atomicupdate/bug_6759.perl
Normal file
|
@ -0,0 +1,15 @@
|
||||||
|
$DBversion = 'XXX'; # will be replaced by the RM
|
||||||
|
if ( CheckVersion($DBversion) ) {
|
||||||
|
|
||||||
|
$dbh->do(qq{
|
||||||
|
UPDATE
|
||||||
|
accountlines
|
||||||
|
SET
|
||||||
|
accounttype = 'ACCOUNT'
|
||||||
|
WHERE
|
||||||
|
accounttype = 'A';
|
||||||
|
});
|
||||||
|
|
||||||
|
SetVersion($DBversion);
|
||||||
|
print "Upgrade to $DBversion done (Bug 11573 - Fix accounttypes for 'A')\n";
|
||||||
|
}
|
Loading…
Reference in a new issue