Skip to content
GitLab
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
0568e72b
Commit
0568e72b
authored
Mar 07, 2007
by
Leigh B. Stoller
Browse files
Until all code converted, must keep using the uid, not the uid_idx.
parent
01f12db9
Changes
1
Hide whitespace changes
Inline
Side-by-side
db/Group.pm.in
View file @
0568e72b
...
...
@@ -754,7 +754,7 @@ sub MemberList($$;$$)
}
my
$
query_result
=
DBQueryWarn
(
"select distinct m.uid_idx "
.
DBQueryWarn
(
"select distinct m.uid_idx
,m.uid
"
.
" from group_membership as m "
.
"where m.pid_idx='$pid_idx' and "
.
" m.gid_idx='$gid_idx' $trust_clause"
);
...
...
@@ -762,9 +762,9 @@ sub MemberList($$;$$)
return
-
1
if
(
!$query_result);
while
(
my
($
uid_idx
)
=
$
query_result
->
fetchrow_array
())
{
while
(
my
($
uid_idx
,
$
uid
)
=
$
query_result
->
fetchrow_array
())
{
if
($
uids_only
)
{
push
(@
result
,
$
uid
_idx
);
push
(@
result
,
$
uid
);
next
;
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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