Commit e8efc047 authored by Leigh B. Stoller's avatar Leigh B. Stoller

Reset swap_exitcode to zero on success.

parent 0b16f143
......@@ -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");
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment