提交 0a3cee72 编写于 作者: B Bruce Momjian

Add mention of heap_getattr() compiler warning.

上级 973a0374
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
* *
* Copyright (c) 1994, Regents of the University of California * Copyright (c) 1994, Regents of the University of California
* *
* $Id: heapam.h,v 1.18 1997/09/12 14:29:04 momjian Exp $ * $Id: heapam.h,v 1.19 1997/09/14 03:59:44 momjian Exp $
* *
*------------------------------------------------------------------------- *-------------------------------------------------------------------------
*/ */
...@@ -93,6 +93,10 @@ typedef HeapAccessStatisticsData *HeapAccessStatistics; ...@@ -93,6 +93,10 @@ typedef HeapAccessStatisticsData *HeapAccessStatistics;
* <tup> is the pointer to the heap tuple. <attnum> is the attribute * <tup> is the pointer to the heap tuple. <attnum> is the attribute
* number of the column (field) caller wants. <tupleDesc> is a * number of the column (field) caller wants. <tupleDesc> is a
* pointer to the structure describing the row and all its fields. * pointer to the structure describing the row and all its fields.
*
* Because this macro is often called with constants, it generates
* compiler warnings about 'left-hand comma expression has no effect.
*
* ---------------- */ * ---------------- */
#define heap_getattr(tup, b, attnum, tupleDesc, isnull) \ #define heap_getattr(tup, b, attnum, tupleDesc, isnull) \
(AssertMacro((tup) != NULL) ? \ (AssertMacro((tup) != NULL) ? \
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册