X-Git-Url: http://git.freeside.biz/gitweb/?p=freeside.git;a=blobdiff_plain;f=torrus%2Fbin%2Fsrvderive.in;h=f41a721cd48418b7ba84c5673096ec1a13839fd6;hp=6623f1d568d0413ff556886627e996dcec7c3215;hb=b0ce0d814c0cba61dac7051821c8146d06d8a350;hpb=da0c8ddeee43e29a6d4c64a7bc9237de6c83406b diff --git a/torrus/bin/srvderive.in b/torrus/bin/srvderive.in index 6623f1d56..f41a721cd 100644 --- a/torrus/bin/srvderive.in +++ b/torrus/bin/srvderive.in @@ -15,7 +15,7 @@ # along with this program; if not, write to the Free Software # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA. -# $Id: srvderive.in,v 1.2 2011-06-11 00:20:14 ivan Exp $ +# $Id: srvderive.in,v 1.3 2011-06-11 00:44:48 ivan Exp $ # Stanislav Sinyagin # Combine SUM or MAX from several service IDs and create a new one @@ -328,6 +328,8 @@ for( my $pos = 0; $pos < $n_points; $pos++ ) } } +$dbh->commit or Error($dbh->errstr); + Verbose('Database update finished'); exit($ok ? 0:1);