diff options
Diffstat (limited to 'torrus/bin')
-rw-r--r-- | torrus/bin/srvderive.in | 4 |
1 files changed, 3 insertions, 1 deletions
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 <ssinyagin@yahoo.com> # 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); |