Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
Postgres FD Implementation
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Abuhujair Javed
Postgres FD Implementation
Commits
0308f91c
Commit
0308f91c
authored
Oct 30, 1997
by
Bruce Momjian
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
No more warnings on macros, thanks VAdim.
parent
fcb47f88
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
5 deletions
+5
-5
src/include/access/heapam.h
src/include/access/heapam.h
+3
-3
src/include/c.h
src/include/c.h
+2
-2
No files found.
src/include/access/heapam.h
View file @
0308f91c
...
...
@@ -6,7 +6,7 @@
*
* Copyright (c) 1994, Regents of the University of California
*
* $Id: heapam.h,v 1.
19 1997/09/14 03:59:44
momjian Exp $
* $Id: heapam.h,v 1.
20 1997/10/30 23:37:01
momjian Exp $
*
*-------------------------------------------------------------------------
*/
...
...
@@ -101,10 +101,10 @@ typedef HeapAccessStatisticsData *HeapAccessStatistics;
#define heap_getattr(tup, b, attnum, tupleDesc, isnull) \
(AssertMacro((tup) != NULL) ? \
((attnum) > (int) (tup)->t_natts) ? \
(((isnull) ? (*(isnull) = true) : (
char
)NULL), (Datum)NULL) : \
(((isnull) ? (*(isnull) = true) : (
void
)NULL), (Datum)NULL) : \
((attnum) > 0) ? \
fastgetattr((tup), (attnum), (tupleDesc), (isnull)) : \
(((isnull) ? (*(isnull) = false) : (
char
)NULL), heap_getsysattr((tup), (b), (attnum))) : \
(((isnull) ? (*(isnull) = false) : (
void
)NULL), heap_getsysattr((tup), (b), (attnum))) : \
(Datum)NULL)
extern
HeapAccessStatistics
heap_access_stats
;
/* in stats.c */
...
...
src/include/c.h
View file @
0308f91c
...
...
@@ -7,7 +7,7 @@
*
* Copyright (c) 1994, Regents of the University of California
*
* $Id: c.h,v 1.2
5 1997/10/27 12:07:10 vadim
Exp $
* $Id: c.h,v 1.2
6 1997/10/30 23:36:56 momjian
Exp $
*
*-------------------------------------------------------------------------
*/
...
...
@@ -691,7 +691,7 @@ typedef struct Exception
*/
/* we do this so if the macro is used in an if action, it will work */
#define StrNCpy(dst,src,len) \
(strncpy((dst),(src),(len)),(len > 0) ? *((dst)+(len)-1)='\0' : NULL,(void)(dst))
(strncpy((dst),(src),(len)),(len > 0) ? *((dst)+(len)-1)='\0' :
(void)
NULL,(void)(dst))
/* Get a bit mask of the bits set in non-int32 aligned addresses */
#define INT_ALIGN_MASK (sizeof(int32) - 1)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment