Bug 23233: (follow-up) Add description to atomic upgrade
[srvgit] / installer / data / mysql / atomicupdate / bug_23233.perl
1 $DBversion = 'XXX'; # will be replaced by the RM
2 if( CheckVersion( $DBversion ) ) {
3     $dbh->do(q{
4         UPDATE systempreferences SET
5         variable = 'AllowItemsOnHoldCheckoutSIP',
6         explanation = 'Do not generate RESERVE_WAITING and RESERVED warning when checking out items reserved to someone else via SIP. This allows self checkouts for those items.'
7         WHERE variable = 'AllowItemsOnHoldCheckout'
8     });
9
10     SetVersion( $DBversion );
11     print "Upgrade to $DBversion done (Bug 23233 - Rename AllowItemsOnHoldCheckout syspref)\n";
12 }