Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
emulab
emulab-devel
Commits
665c49cd
Commit
665c49cd
authored
May 22, 2003
by
Leigh B. Stoller
Browse files
Update project/group aggregate counts that I dropped out, but should
have left in place.
parent
7bf8736c
Changes
1
Show whitespace changes
Inline
Side-by-side
db/libdb.pm.in
View file @
665c49cd
...
...
@@ -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
.
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment