Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit60b1123

Browse files
committed
Fixes:
Here's a couple more small fixes that I've made to make my runtimechecker happy with the code. More along the lines of those thatI sent in the past, ie, a pointer to an array != the name ofan array. The last patch is that I mailed about yesterday -- I gottwo replies of "do it", so it's done. As far as I can tell, however,the function in question is never called by pg95, so either wayit can't hurt...From: "Kurt J. Lidl" <lidl@va.pubnix.com>
1 parent77e0165 commit60b1123

File tree

3 files changed

+8
-8
lines changed

3 files changed

+8
-8
lines changed

‎src/backend/catalog/index.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
*
88
*
99
* IDENTIFICATION
10-
* $Header: /cvsroot/pgsql/src/backend/catalog/index.c,v 1.1.1.1 1996/07/09 06:21:15 scrappy Exp $
10+
* $Header: /cvsroot/pgsql/src/backend/catalog/index.c,v 1.2 1996/08/19 13:32:07 scrappy Exp $
1111
*
1212
*
1313
* INTERFACE ROUTINES
@@ -992,7 +992,7 @@ index_create(char *heapRelationName,
992992
AttrNumberattNums[],
993993
OidclassObjectId[],
994994
uint16parameterCount,
995-
Datumparameter[],
995+
Datum*parameter,
996996
Node*predicate)
997997
{
998998
RelationheapRelation;
@@ -1610,7 +1610,7 @@ index_build(Relation heapRelation,
16101610
intnumberOfAttributes,
16111611
AttrNumberattributeNumber[],
16121612
uint16parameterCount,
1613-
Datumparameter[],
1613+
Datum*parameter,
16141614
FuncIndexInfo*funcInfo,
16151615
PredInfo*predInfo)
16161616
{

‎src/backend/catalog/index.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
*
77
* Copyright (c) 1994, Regents of the University of California
88
*
9-
* $Id: index.h,v 1.1.1.1 1996/07/09 06:21:15 scrappy Exp $
9+
* $Id: index.h,v 1.2 1996/08/19 13:32:08 scrappy Exp $
1010
*
1111
*-------------------------------------------------------------------------
1212
*/
@@ -36,7 +36,7 @@ extern void index_create(char *heapRelationName,
3636
AttrNumberattNums[],
3737
OidclassObjectId[],
3838
uint16parameterCount,
39-
Datumparameter[],
39+
Datum*parameter,
4040
Node*predicate);
4141

4242
externvoidindex_destroy(OidindexId);
@@ -53,7 +53,7 @@ extern void FillDummyExprContext(ExprContext *econtext, TupleTableSlot *slot,
5353

5454
externvoidindex_build(RelationheapRelation,RelationindexRelation,
5555
intnumberOfAttributes,AttrNumberattributeNumber[],
56-
uint16parameterCount,Datumparameter[],FuncIndexInfo*funcInfo,
56+
uint16parameterCount,Datum*parameter,FuncIndexInfo*funcInfo,
5757
PredInfo*predInfo);
5858

5959
#endif/* INDEX_H */

‎src/backend/nodes/copyfuncs.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
*
88
*
99
* IDENTIFICATION
10-
* $Header: /cvsroot/pgsql/src/backend/nodes/copyfuncs.c,v 1.1.1.1 1996/07/09 06:21:32 scrappy Exp $
10+
* $Header: /cvsroot/pgsql/src/backend/nodes/copyfuncs.c,v 1.2 1996/08/19 13:32:14 scrappy Exp $
1111
*
1212
*-------------------------------------------------------------------------
1313
*/
@@ -589,7 +589,7 @@ _copyResdom(Resdom *from)
589589
staticFjoin*
590590
_copyFjoin(Fjoin*from)
591591
{
592-
Fjoin*newnode;
592+
Fjoin*newnode=makeNode(Fjoin);
593593

594594
/* ----------------
595595
*copy node superclass fields

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp