From b0ce0d814c0cba61dac7051821c8146d06d8a350 Mon Sep 17 00:00:00 2001 From: ivan Date: Sat, 11 Jun 2011 00:44:48 +0000 Subject: servderive commit fix --- torrus/bin/srvderive.in | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'torrus/bin') 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); -- cgit v1.2.1