Commit 665c49cd authored by Leigh B. Stoller's avatar Leigh B. Stoller

Update project/group aggregate counts that I dropped out, but should

have left in place.
parent 7bf8736c
......@@ -3322,6 +3322,20 @@ sub GatherSwapStats($$$$$;$)
($mode eq TBDB_STATS_SWAPMODIFY)) ?
"'$lastswapuid'" : "'$uid'"));
#
# Project/group aggregate is a little more convenient to work with
# in some places.
#
if ($mode eq TBDB_STATS_SWAPIN ||
$mode eq TBDB_STATS_START) {
DBQueryWarn("update projects set ".
" expt_last=now(),expt_count=expt_count+1 ".
"where pid='$pid'");
DBQueryWarn("update groups set ".
" expt_last=now(),expt_count=expt_count+1 ".
"where pid='$pid' and gid='$gid'");
}
#
# Update the per-experiment record.
# Note that we map start into swapin.
......
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