diff options
author | Marc G. Fournier <scrappy@hub.org> | 1996-08-13 01:32:26 +0000 |
---|---|---|
committer | Marc G. Fournier <scrappy@hub.org> | 1996-08-13 01:32:26 +0000 |
commit | 9da9c0915a502f73be817f2185b453cea3a3e51d (patch) | |
tree | 43101d5cad391b3d9ab904f7cf8fb95e46525542 /src/backend/access/common/heaptuple.c | |
parent | 59f29714aa8d084bdb3f96b87ee03775d7e2b865 (diff) | |
download | postgresql-9da9c0915a502f73be817f2185b453cea3a3e51d.tar.gz postgresql-9da9c0915a502f73be817f2185b453cea3a3e51d.zip |
Fixes:
Here's a small patch that my run-time checker whines about
incessantly. The justification for the patch is along the
lines of passing a NULL is allowed if you have an
arguement that is a *POINTER* to something, but if
the arguement is an array reference, it's not really
a "pointer", so it can't be NULL.
If you question this, I refer you to
<URL:http://www.va.pubnix.com/staff/djm/lore/arrays-are-not-pointers>
Anyways, here's the patch:
-Kurt
Submitted by: "Kurt J. Lidl" <lidl@va.pubnix.com>
Diffstat (limited to 'src/backend/access/common/heaptuple.c')
-rw-r--r-- | src/backend/access/common/heaptuple.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/backend/access/common/heaptuple.c b/src/backend/access/common/heaptuple.c index c3e72fb97e8..d3cc09fee82 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.1.1.1 1996/07/09 06:21:09 scrappy Exp $ + * $Header: /cvsroot/pgsql/src/backend/access/common/heaptuple.c,v 1.2 1996/08/13 01:32:26 scrappy Exp $ * * NOTES * The old interface functions have been converted to macros @@ -114,7 +114,7 @@ DataFill(char *data, Datum value[], char nulls[], char *infomask, - bits8 bit[]) + bits8 *bit) { bits8 *bitP; int bitmask; |