diff options
author | Vadim B. Mikheev <vadim4o@yahoo.com> | 1998-08-01 15:26:38 +0000 |
---|---|---|
committer | Vadim B. Mikheev <vadim4o@yahoo.com> | 1998-08-01 15:26:38 +0000 |
commit | 0d78e8c1124cb7f44f17dec2d313c2ac4b871195 (patch) | |
tree | 2dc1bfd7b22c47eab4c869f6ae2995349250a28e /src/include/storage/buf_internals.h | |
parent | 83d3626b1f43cb507755d27e914e6788c17cd8ac (diff) |
Lmgr cleanup, new locking modes for LLL.
Diffstat (limited to 'src/include/storage/buf_internals.h')
-rw-r--r-- | src/include/storage/buf_internals.h | 19 |
1 files changed, 2 insertions, 17 deletions
diff --git a/src/include/storage/buf_internals.h b/src/include/storage/buf_internals.h index 0a419784f1c..03d249195d6 100644 --- a/src/include/storage/buf_internals.h +++ b/src/include/storage/buf_internals.h @@ -6,7 +6,7 @@ * * Copyright (c) 1994, Regents of the University of California * - * $Id: buf_internals.h,v 1.24 1998/07/20 16:57:10 momjian Exp $ + * $Id: buf_internals.h,v 1.25 1998/08/01 15:26:34 vadim Exp $ * * NOTE * If BUFFERPAGE0 is defined, then 0 will be used as a @@ -65,24 +65,9 @@ struct buftag #define INIT_BUFFERTAG(a,xx_reln,xx_blockNum) \ ( \ (a)->blockNum = xx_blockNum, \ - (a)->relId = RelationGetLockRelId(xx_reln) \ + (a)->relId = ((LockInfo)(xx_reln->lockInfo))->lockRelId \ ) -#ifdef NOT_USED -#define COPY_BUFFERTAG(a,b) \ -( \ - (a)->blockNum = (b)->blockNum, \ - LockRelIdAssign(*(a),*(b)) \ -) - -#define EQUAL_BUFFERTAG(a,b) \ -( \ - ((a)->blockNum == (b)->blockNum && \ - OID_Equal((a)->relId.relId,(b)->relId.relId)) \ -) - -#endif - #define BAD_BUFFER_ID(bid) ((bid<1) || (bid>(NBuffers))) #define INVALID_DESCRIPTOR (-3) |