File tree Expand file tree Collapse file tree 1 file changed +5
-6
lines changed Expand file tree Collapse file tree 1 file changed +5
-6
lines changed Original file line number Diff line number Diff line change 7
7
*
8
8
*
9
9
* IDENTIFICATION
10
- * $Header: /cvsroot/pgsql/src/backend/access/hash/hashutil.c,v 1.7 1996/11/05 09:40:25 scrappy Exp $
10
+ * $Header: /cvsroot/pgsql/src/backend/access/hash/hashutil.c,v 1.8 1997/08/12 23:03:50 momjian Exp $
11
11
*
12
12
*-------------------------------------------------------------------------
13
13
*/
@@ -126,17 +126,16 @@ _hash_log2(uint32 num)
126
126
void
127
127
_hash_checkpage (Page page , int flags )
128
128
{
129
- PageHeader ph = (PageHeader ) page ;
130
129
HashPageOpaque opaque ;
131
130
132
131
Assert (page );
133
- Assert (ph -> pd_lower >= (sizeof (PageHeaderData ) - sizeof (ItemIdData )));
132
+ Assert ((( PageHeader )( ph )) -> pd_lower >= (sizeof (PageHeaderData ) - sizeof (ItemIdData )));
134
133
#if 1
135
- Assert (ph -> pd_upper <=
134
+ Assert ((( PageHeader )( ph )) -> pd_upper <=
136
135
(BLCKSZ - DOUBLEALIGN (sizeof (HashPageOpaqueData ))));
137
- Assert (ph -> pd_special ==
136
+ Assert ((( PageHeader )( ph )) -> pd_special ==
138
137
(BLCKSZ - DOUBLEALIGN (sizeof (HashPageOpaqueData ))));
139
- Assert (ph -> pd_opaque .od_pagesize == BLCKSZ );
138
+ Assert ((( PageHeader )( ph )) -> pd_opaque .od_pagesize == BLCKSZ );
140
139
#endif
141
140
if (flags ) {
142
141
opaque = (HashPageOpaque ) PageGetSpecialPointer (page );
You can’t perform that action at this time.
0 commit comments