8
8
*
9
9
*
10
10
* IDENTIFICATION
11
- * $Header: /cvsroot/pgsql/src/backend/access/common/indextuple.c,v 1.26 1998/02/06 20:17:51 momjian Exp $
11
+ * $Header: /cvsroot/pgsql/src/backend/access/common/indextuple.c,v 1.27 1998/02/11 19:09:23 momjian Exp $
12
12
*
13
13
*-------------------------------------------------------------------------
14
14
*/
@@ -41,7 +41,7 @@ index_formtuple(TupleDesc tupleDescriptor,
41
41
Datum value [],
42
42
char null [])
43
43
{
44
- register char * tp ; /* tuple pointer */
44
+ char * tp ; /* tuple pointer */
45
45
IndexTuple tuple ; /* return tuple */
46
46
Size size ,
47
47
hoff ;
@@ -137,10 +137,10 @@ nocache_index_getattr(IndexTuple tup,
137
137
TupleDesc tupleDesc ,
138
138
bool * isnull )
139
139
{
140
- register char * tp ; /* ptr to att in tuple */
141
- register char * bp = NULL ; /* ptr to att in tuple */
140
+ char * tp ; /* ptr to att in tuple */
141
+ char * bp = NULL ; /* ptr to att in tuple */
142
142
int slow ; /* do we have to walk nulls? */
143
- register int data_off ; /* tuple data offset */
143
+ int data_off ; /* tuple data offset */
144
144
AttributeTupleForm * att = tupleDesc -> attrs ;
145
145
146
146
/* ----------------
@@ -219,10 +219,10 @@ nocache_index_getattr(IndexTuple tup,
219
219
* ----------------
220
220
*/
221
221
{
222
- register int i = 0 ; /* current offset in bp */
223
- register int mask ; /* bit in byte we're looking at */
224
- register char n ; /* current byte in bp */
225
- register int byte ,
222
+ int i = 0 ; /* current offset in bp */
223
+ int mask ; /* bit in byte we're looking at */
224
+ char n ; /* current byte in bp */
225
+ int byte ,
226
226
finalbit ;
227
227
228
228
byte = attnum >> 3 ;
@@ -265,7 +265,7 @@ nocache_index_getattr(IndexTuple tup,
265
265
}
266
266
else if (!IndexTupleAllFixed (tup ))
267
267
{
268
- register int j = 0 ;
268
+ int j = 0 ;
269
269
270
270
for (j = 0 ; j < attnum && !slow ; j ++ )
271
271
if (att [j ]-> attlen < 1 && !VARLENA_FIXED_SIZE (att [j ]))
@@ -281,8 +281,8 @@ nocache_index_getattr(IndexTuple tup,
281
281
282
282
if (!slow )
283
283
{
284
- register int j = 1 ;
285
- register long off ;
284
+ int j = 1 ;
285
+ long off ;
286
286
287
287
/*
288
288
* need to set cache for some atts
@@ -346,9 +346,9 @@ nocache_index_getattr(IndexTuple tup,
346
346
}
347
347
else
348
348
{
349
- register bool usecache = true;
350
- register int off = 0 ;
351
- register int i ;
349
+ bool usecache = true;
350
+ int off = 0 ;
351
+ int i ;
352
352
353
353
/*
354
354
* Now we know that we have to walk the tuple CAREFULLY.
0 commit comments