diff options
author | Bruce Momjian | 2001-02-22 21:48:49 +0000 |
---|---|---|
committer | Bruce Momjian | 2001-02-22 21:48:49 +0000 |
commit | 4f6c49fef0ddb568d2bf23a338645336737a32c5 (patch) | |
tree | 01d7752a305dd367323086eabba921838366ea34 /src/backend/access/common/indextuple.c | |
parent | 660ca3e01c0ac2cd27d07979d026263ff9e4b1bd (diff) |
Clean up index/btree comments/macros, as approved.
Diffstat (limited to 'src/backend/access/common/indextuple.c')
-rw-r--r-- | src/backend/access/common/indextuple.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/backend/access/common/indextuple.c b/src/backend/access/common/indextuple.c index 4b46c202dc..e503d9b888 100644 --- a/src/backend/access/common/indextuple.c +++ b/src/backend/access/common/indextuple.c @@ -9,7 +9,7 @@ * * * IDENTIFICATION - * $Header: /cvsroot/pgsql/src/backend/access/common/indextuple.c,v 1.51 2001/02/15 20:57:01 tgl Exp $ + * $Header: /cvsroot/pgsql/src/backend/access/common/indextuple.c,v 1.52 2001/02/22 21:48:48 momjian Exp $ * *------------------------------------------------------------------------- */ @@ -230,7 +230,7 @@ nocache_index_getattr(IndexTuple tup, attnum--; - if (IndexTupleNoNulls(tup)) + if (!IndexTupleHasNulls(tup)) { #ifdef IN_MACRO /* This is handled in the macro */ @@ -301,7 +301,7 @@ nocache_index_getattr(IndexTuple tup, return fetchatt(att[attnum], tp + att[attnum]->attcacheoff); } - else if (!IndexTupleAllFixed(tup)) + else if (IndexTupleHasVarlenas(tup)) { int j; @@ -365,7 +365,7 @@ nocache_index_getattr(IndexTuple tup, for (i = 0; i < attnum; i++) { - if (!IndexTupleNoNulls(tup)) + if (IndexTupleHasNulls(tup)) { if (att_isnull(i, bp)) { |