should really fix bug commiting between each table upgrade, arg, RT#8580
[freeside.git] / FS / bin / freeside-upgrade
index f4ff1c2..a0a5fe6 100755 (executable)
@@ -163,6 +163,8 @@ unless ( $DRY_RUN || $opt_s ) {
 $dbh->commit or die $dbh->errstr;
 $dbh->disconnect or die $dbh->errstr;
 
+$FS::UID::AutoCommit = 1;
+
 $dbh = adminsuidsetup($user);
 
 warn "Re-initialization with updated schema completed in ". (time-$start). " seconds\n"; # if $DEBUG;