OSDN Git Service

heap_getattr fix for aix.
authorBruce Momjian <bruce@momjian.us>
Fri, 29 Aug 1997 00:44:55 +0000 (00:44 +0000)
committerBruce Momjian <bruce@momjian.us>
Fri, 29 Aug 1997 00:44:55 +0000 (00:44 +0000)
src/include/access/heapam.h

index 1819d72..d77c118 100644 (file)
@@ -6,7 +6,7 @@
  *
  * Copyright (c) 1994, Regents of the University of California
  *
- * $Id: heapam.h,v 1.9 1997/08/27 09:03:47 vadim Exp $
+ * $Id: heapam.h,v 1.10 1997/08/29 00:44:55 momjian Exp $
  *
  *-------------------------------------------------------------------------
  */
@@ -96,11 +96,11 @@ typedef HeapAccessStatisticsData *HeapAccessStatistics;
 #define heap_getattr(tup, b, attnum, tupleDesc, isnull) \
     (AssertMacro((tup) != NULL) ? \
        ((attnum) > (int) (tup)->t_natts) ? \
-           (((isnull) ? (*(isnull) = true) : NULL), (char *) NULL) : \
+           (((isnull) ? (*(isnull) = true) : (char *)NULL), (char *)NULL) : \
        ((attnum) > 0) ? \
            fastgetattr((tup), (attnum), (tupleDesc), (isnull)) : \
-       (((isnull) ? (*(isnull) = false) : NULL), heap_getsysattr((tup), (b), (attnum))) : \
-    (char *) NULL)
+       (((isnull) ? (*(isnull) = false) : (char *)NULL), heap_getsysattr((tup), (b), (attnum))) : \
+    (char *)NULL)
 
 extern HeapAccessStatistics heap_access_stats; /* in stats.c */