Bug 15446 - DBrev 3.23.000.018

Signed-off-by: Jesse Weaver <jweaver@bywatersolutions.com>
This commit is contained in:
Jesse Weaver 2016-02-12 12:43:32 -07:00
parent 7ef9c1b6f5
commit 5fec490093
3 changed files with 11 additions and 2 deletions

View file

@ -29,7 +29,7 @@ use vars qw{ $VERSION };
# - #4 : the developer version. The 4th number is the database subversion. # - #4 : the developer version. The 4th number is the database subversion.
# used by developers when the database changes. updatedatabase take care of the changes itself # used by developers when the database changes. updatedatabase take care of the changes itself
# and is automatically called by Auth.pm when needed. # and is automatically called by Auth.pm when needed.
$VERSION = "3.23.00.017"; $VERSION = "3.23.00.018";
sub version { sub version {
return $VERSION; return $VERSION;

View file

@ -1 +0,0 @@
UPDATE systempreferences SET value="0" where type="YesNo" and value=";"

View file

@ -11713,6 +11713,16 @@ remove_tree( $tmp ) if -d $tmp;
} }
$DBversion = "3.23.00.018";
if ( CheckVersion($DBversion) ) {
$dbh->do(q{
UPDATE systempreferences SET value="0" where type="YesNo" and value="";
});
print "Upgrade to $DBversion done (Bug 15446 - Fix systempreferences rows where type=YesNo and value='')\n";
SetVersion($DBversion);
}
# DEVELOPER PROCESS, search for anything to execute in the db_update directory # DEVELOPER PROCESS, search for anything to execute in the db_update directory
# SEE bug 13068 # SEE bug 13068
# if there is anything in the atomicupdate, read and execute it. # if there is anything in the atomicupdate, read and execute it.