File tree Expand file tree Collapse file tree 3 files changed +20
-2699
lines changed Expand file tree Collapse file tree 3 files changed +20
-2699
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/nbtree/nbtcompare.c,v 1.8 1997/04/18 02:48:05 vadim Exp $
10
+ * $Header: /cvsroot/pgsql/src/backend/access/nbtree/nbtcompare.c,v 1.9 1997/05/22 00:07:15 scrappy Exp $
11
11
*
12
12
* NOTES
13
13
* These functions are stored in pg_amproc. For each operator class
@@ -134,10 +134,10 @@ btnamecmp(NameData *a, NameData *b)
134
134
int32
135
135
bttextcmp (struct varlena * a , struct varlena * b )
136
136
{
137
- unsigned char * ap , * bp ;
138
137
int res ;
139
138
140
139
#ifdef USE_LOCALE
140
+ unsigned char * ap , * bp ;
141
141
int la = VARSIZE (a ) - VARHDRSZ ;
142
142
int lb = VARSIZE (b ) - VARHDRSZ ;
143
143
@@ -155,6 +155,7 @@ bttextcmp(struct varlena *a, struct varlena *b)
155
155
pfree (bp );
156
156
157
157
#else
158
+ char * ap , * bp ;
158
159
int len = VARSIZE (a );
159
160
160
161
/* len is the length of the shorter of the two strings */
Original file line number Diff line number Diff line change 7
7
*
8
8
*
9
9
* IDENTIFICATION
10
- * $Header: /cvsroot/pgsql/src/backend/utils/adt/geo_ops.c,v 1.7 1997/05/19 03:49:39 scrappy Exp $
10
+ * $Header: /cvsroot/pgsql/src/backend/utils/adt/geo_ops.c,v 1.8 1997/05/22 00:07:21 scrappy Exp $
11
11
*
12
12
*-------------------------------------------------------------------------
13
13
*/
@@ -986,7 +986,8 @@ path_close(PATH *path)
986
986
{
987
987
PATH * result ;
988
988
989
- if (PointerIsValid ((char * )(result = path_copy (path ))))
989
+ result = path_copy (path );
990
+ if (PointerIsValid ((char * )result ))
990
991
result -> closed = TRUE;
991
992
992
993
return (result );
@@ -997,7 +998,8 @@ path_open(PATH *path)
997
998
{
998
999
PATH * result ;
999
1000
1000
- if (PointerIsValid ((char * )(result = path_copy (path ))))
1001
+ result = path_copy (path );
1002
+ if (PointerIsValid ((char * )result ))
1001
1003
result -> closed = FALSE;
1002
1004
1003
1005
return (result );
@@ -2639,7 +2641,7 @@ poly_path(POLYGON *poly)
2639
2641
*
2640
2642
*
2641
2643
* IDENTIFICATION
2642
- * $Header: /cvsroot/pgsql/src/backend/utils/adt/geo_ops.c,v 1.7 1997/05/19 03:49:39 scrappy Exp $
2644
+ * $Header: /cvsroot/pgsql/src/backend/utils/adt/geo_ops.c,v 1.8 1997/05/22 00:07:21 scrappy Exp $
2643
2645
*
2644
2646
*-------------------------------------------------------------------------
2645
2647
*/
You can’t perform that action at this time.
0 commit comments