X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/1b9a64fa292f375c82b4af788d0606354bc4e8ff..c06a8ef75d041488b73813d3c9c70409940b148b:/SL/User.pm diff --git a/SL/User.pm b/SL/User.pm index 593707c82..f324e3629 100644 --- a/SL/User.pm +++ b/SL/User.pm @@ -443,6 +443,8 @@ sub dbupdate2 { my @upgradescripts = $dbupdater->unapplied_upgrade_scripts($dbh); + $::lxdebug->log_time("DB upgrades commencing"); + foreach my $control (@upgradescripts) { # Apply upgrade. Control will only return to us if the upgrade has # been applied correctly and if the update has not requested user @@ -453,6 +455,8 @@ sub dbupdate2 { $dbupdater->process_file($dbh, "sql/Pg-upgrade2/$control->{file}", $control); } + $::lxdebug->log_time("DB upgrades finished"); + $dbh->disconnect; }