From e8efc0472dcb52a8da8d1c79876ee98ebbfe0065 Mon Sep 17 00:00:00 2001 From: "Leigh B. Stoller" Date: Wed, 15 Mar 2006 18:10:11 +0000 Subject: [PATCH] Reset swap_exitcode to zero on success. --- db/libdb.pm.in | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/db/libdb.pm.in b/db/libdb.pm.in index b5a1f4e89..29829bc8c 100644 --- a/db/libdb.pm.in +++ b/db/libdb.pm.in @@ -4992,7 +4992,8 @@ sub GatherSwapStats($$$$$;$) DBQueryWarn("update experiment_stats ". "set ${tmp}_count=${tmp}_count+1, ". " ${tmp}_last=now(), ". - " swapin_duration=swapin_duration+${duration} ". + " swapin_duration=swapin_duration+${duration}, ". + " swap_exitcode=0 ". "where pid='$pid' and eid='$eid' and ". " exptidx=$exptidx"); } -- GitLab