summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorivan <ivan>2009-05-22 03:22:38 +0000
committerivan <ivan>2009-05-22 03:22:38 +0000
commitaa6c509c76c647d05d7bc94ca58effa845cac245 (patch)
treeb60e7b4d18ef301f1b4a7ce6b757b3e60c05fc80
parent0d8c19f122f9f7331aa707192f3bffa473f069a5 (diff)
commit before sqlradius upgrade so sqlradius upgrade errors from permissions can be ignored for now
-rwxr-xr-xFS/bin/freeside-upgrade4
1 files changed, 3 insertions, 1 deletions
diff --git a/FS/bin/freeside-upgrade b/FS/bin/freeside-upgrade
index 7ee35c68d..97babbd68 100755
--- a/FS/bin/freeside-upgrade
+++ b/FS/bin/freeside-upgrade
@@ -149,6 +149,8 @@ $start = time;
upgrade()
unless $DRY_RUN || $opt_s;
+$dbh->commit or die $dbh->errstr;
+
warn "Table updates completed in ". (time-$start). " seconds\n"; # if $DEBUG;
$start = time;
@@ -161,7 +163,7 @@ $start = time;
$dbh->commit or die $dbh->errstr;
$dbh->disconnect or die $dbh->errstr;
-warn "Commit and disconnection completed in ". (time-$start). " seconds; upgrade done!\n"; # if $DEBUG;
+warn "Final commit and disconnection completed in ". (time-$start). " seconds; upgrade done!\n"; # if $DEBUG;
###