summaryrefslogtreecommitdiff
path: root/src/backend/access/common/indextuple.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/backend/access/common/indextuple.c')
-rw-r--r--src/backend/access/common/indextuple.c8
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))
{