From 55375c203e5d337e232041e368869a6336f1fd26 Mon Sep 17 00:00:00 2001 From: ivan Date: Sat, 5 Jun 2010 20:52:30 +0000 Subject: should really fix bug commiting between each table upgrade, arg, RT#8580 --- FS/bin/freeside-upgrade | 2 ++ 1 file changed, 2 insertions(+) (limited to 'FS/bin/freeside-upgrade') 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; -- cgit v1.2.1