diff options
Diffstat (limited to 'src/backend/access/common/heaptuple.c')
-rw-r--r-- | src/backend/access/common/heaptuple.c | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/src/backend/access/common/heaptuple.c b/src/backend/access/common/heaptuple.c index ded94d0d8a3..ec5b756e748 100644 --- a/src/backend/access/common/heaptuple.c +++ b/src/backend/access/common/heaptuple.c @@ -8,7 +8,7 @@ * * * IDENTIFICATION - * $Header: /cvsroot/pgsql/src/backend/access/common/heaptuple.c,v 1.37 1998/02/26 04:29:15 momjian Exp $ + * $Header: /cvsroot/pgsql/src/backend/access/common/heaptuple.c,v 1.38 1998/06/15 19:27:44 momjian Exp $ * * NOTES * The old interface functions have been converted to macros @@ -143,9 +143,7 @@ DataFill(char *data, if (bit != NULL) { if (bitmask != CSIGNBIT) - { bitmask <<= 1; - } else { bitP += 1; @@ -167,13 +165,9 @@ DataFill(char *data, case -1: *infomask |= HEAP_HASVARLENA; if (att[i]->attalign == 'd') - { data = (char *) DOUBLEALIGN(data); - } else - { data = (char *) INTALIGN(data); - } data_length = VARSIZE(DatumGetPointer(value[i])); memmove(data, DatumGetPointer(value[i]), data_length); data += data_length; @@ -239,9 +233,7 @@ heap_attisnull(HeapTuple tup, int attnum) return (0); if (attnum > 0) - { return (att_isnull(attnum - 1, tup->t_bits)); - } else switch (attnum) { @@ -513,9 +505,7 @@ nocachegetattr(HeapTuple tup, tp + att[attnum]->attcacheoff); } else if (attnum == 0) - { return ((Datum) fetchatt(&(att[0]), (char *) tp)); - } else if (!HeapTupleAllFixed(tup)) { int j = 0; |