summaryrefslogtreecommitdiff
path: root/FS/bin/freeside-upgrade
diff options
context:
space:
mode:
authorivan <ivan>2010-06-05 20:52:30 +0000
committerivan <ivan>2010-06-05 20:52:30 +0000
commit55375c203e5d337e232041e368869a6336f1fd26 (patch)
tree934b3c30cc2871124766acc6c01bd103a4e1e783 /FS/bin/freeside-upgrade
parent7c47d95403d8ff9a93848a6ad9de9dcedca84bde (diff)
should really fix bug commiting between each table upgrade, arg, RT#8580
Diffstat (limited to 'FS/bin/freeside-upgrade')
-rwxr-xr-xFS/bin/freeside-upgrade2
1 files changed, 2 insertions, 0 deletions
diff --git a/FS/bin/freeside-upgrade b/FS/bin/freeside-upgrade
index f4ff1c28e..a0a5fe68c 100755
--- a/FS/bin/freeside-upgrade
+++ b/FS/bin/freeside-upgrade
@@ -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;