status = STATUS_FOUND;
else
status = LockCheckConflicts(lockMethodTable, lockmode,
- lock, proclock, MyProc);
+ lock, proclock);
if (status == STATUS_OK)
{
LockCheckConflicts(LockMethod lockMethodTable,
LOCKMODE lockmode,
LOCK *lock,
- PROCLOCK *proclock,
- PGPROC *proc)
+ PROCLOCK *proclock)
{
int numLockModes = lockMethodTable->numLockModes;
LOCKMASK myLocks;
LockCheckConflicts(lockMethodTable,
lockmode,
lock,
- proclock,
- MyProc) == STATUS_OK)
+ proclock) == STATUS_OK)
{
/* Skip the wait and just grant myself the lock. */
GrantLock(lock, proclock, lockmode);
LockCheckConflicts(lockMethodTable,
lockmode,
lock,
- proc->waitProcLock,
- proc) == STATUS_OK)
+ proc->waitProcLock) == STATUS_OK)
{
/* OK to waken */
GrantLock(lock, proc->waitProcLock, lockmode);
extern void PostPrepare_Locks(TransactionId xid);
extern int LockCheckConflicts(LockMethod lockMethodTable,
LOCKMODE lockmode,
- LOCK *lock, PROCLOCK *proclock, PGPROC *proc);
+ LOCK *lock, PROCLOCK *proclock);
extern void GrantLock(LOCK *lock, PROCLOCK *proclock, LOCKMODE lockmode);
extern void GrantAwaitedLock(void);
extern void RemoveFromWaitQueue(PGPROC *proc, uint32 hashcode);