408 if ($DbLogType =~ m(Current) ) { 409 # update or insert current 410 my $rv_uc = $sth_uc->execute(($ts, $t, $s, $value, $unit, $n, $reading)); 411 if ($rv_uc == 0) { 412 my $rv_ic = $sth_ic->execute(@is);