|
9 | 9 | * Portions Copyright (c) 1994, Regents of the University of California |
10 | 10 | * |
11 | 11 | * IDENTIFICATION |
12 | | - * $PostgreSQL: pgsql/src/backend/access/common/printtup.c,v 1.88 2005/04/06 16:34:04 tgl Exp $ |
| 12 | + * $PostgreSQL: pgsql/src/backend/access/common/printtup.c,v 1.89 2005/04/23 17:45:35 tgl Exp $ |
13 | 13 | * |
14 | 14 | *------------------------------------------------------------------------- |
15 | 15 | */ |
@@ -402,7 +402,7 @@ printtup_20(TupleTableSlot *slot, DestReceiver *self) |
402 | 402 | k=1 <<7; |
403 | 403 | for (i=0;i<natts;++i) |
404 | 404 | { |
405 | | -if (slot->tts_isnull[i]) |
| 405 | +if (!slot->tts_isnull[i]) |
406 | 406 | j |=k;/* set bit if not null */ |
407 | 407 | k >>=1; |
408 | 408 | if (k==0)/* end of byte? */ |
@@ -610,7 +610,7 @@ printtup_internal_20(TupleTableSlot *slot, DestReceiver *self) |
610 | 610 | k=1 <<7; |
611 | 611 | for (i=0;i<natts;++i) |
612 | 612 | { |
613 | | -if (slot->tts_isnull[i]) |
| 613 | +if (!slot->tts_isnull[i]) |
614 | 614 | j |=k;/* set bit if not null */ |
615 | 615 | k >>=1; |
616 | 616 | if (k==0)/* end of byte? */ |
|