[1647] in Moira
Re: couple of server changes
daemon@ATHENA.MIT.EDU (Jonathon Weiss)
Tue Aug 15 19:37:53 2000
Message-Id: <200008152337.TAA28229@speaker-for-the-dead.mit.edu>
From: Jonathon Weiss <jweiss@MIT.EDU>
To: Garry Zacheiss <zacheiss@MIT.EDU>
cc: moiradev@MIT.EDU
In-reply-to: Your message of "Sun, 13 Aug 2000 02:34:20 EDT."
<200008130634.CAA11699@riff-raff.mit.edu>
Date: Tue, 15 Aug 2000 19:37:50 -0400
Will this cause duplicate entries to be reported if foo both owns (or
is on the owner of) bar and is (or is on) the memacl for bar?
If not the patch looks fine.
Jonathon
> Index: qsupport.pc
> ===================================================================
> RCS file: /afs/athena.mit.edu/astaff/project/moiradev/repository/moira/server/qsupport.pc,v
> retrieving revision 2.26
> diff -c -r2.26 qsupport.pc
> *** qsupport.pc 2000/08/10 02:23:50 2.26
> --- qsupport.pc 2000/08/13 06:13:12
> ***************
> *** 784,790 ****
> rargv[0] = "LIST";
> EXEC SQL DECLARE csr113 CURSOR FOR
> SELECT name FROM list
> ! WHERE acl_type = :type AND acl_id = :id;
> if (dbms_errno)
> return mr_errcode;
> EXEC SQL OPEN csr113;
> --- 784,791 ----
> rargv[0] = "LIST";
> EXEC SQL DECLARE csr113 CURSOR FOR
> SELECT name FROM list
> ! WHERE (acl_type = :type AND acl_id = :id)
> ! OR (memacl_type = :type AND memacl_id = :id);
> if (dbms_errno)
> return mr_errcode;
> EXEC SQL OPEN csr113;