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

Commit3b8854f

Browse files
committed
Correct some typos...
1 parentc1bc907 commit3b8854f

File tree

1 file changed

+5
-7
lines changed

1 file changed

+5
-7
lines changed

‎src/backend/nodes/outfuncs.c

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
*
66
* Copyright (c) 1994, Regents of the University of California
77
*
8-
* $Id: outfuncs.c,v 1.53 1998/12/15 02:24:15 scrappy Exp $
8+
* $Id: outfuncs.c,v 1.54 1998/12/15 02:32:57 scrappy Exp $
99
*
1010
* NOTES
1111
* Every (plan) node in POSTGRES has an associated "out" routine which
@@ -132,9 +132,9 @@ _outTypeName(StringInfo str, TypeName *node)
132132
appendStringInfo(str,
133133
" TYPENAME :name %s :timezone %s :setof %s typmod %d :arrayBounds ",
134134
node->name,
135-
node->timezone ?"true" :"false,
135+
node->timezone ?"true" :"false",
136136
node->setof ?"true" :"false",
137-
node->typemod);
137+
node->typmod);
138138

139139
appendStringInfo(str," :arrayBounds ");
140140
_outNode(str,node->arrayBounds);
@@ -274,7 +274,7 @@ _outPlanInfo(StringInfo str, Plan *node)
274274
appendStringInfo(str," :initplan ");
275275
_outNode(str,node->initPlan);
276276

277-
appendStringInfo(str," :nprm %d ",node-nParamExec);
277+
appendStringInfo(str," :nprm %d ",node->nParamExec);
278278
}
279279

280280
/*
@@ -353,7 +353,6 @@ _outMergeJoin(StringInfo str, MergeJoin *node)
353353
appendStringInfo(str," :mergeclauses ");
354354
_outNode(str,node->mergeclauses);
355355

356-
snprintf(buf,500," :mergejoinop %u ",node->mergejoinop);
357356
appendStringInfo(str,
358357
" :mergejoinop %u :mergerightorder %u :mergeleftorder %u ",
359358
node->mergejoinop,
@@ -494,7 +493,7 @@ _outGroup(StringInfo str, Group *node)
494493
_outPlanInfo(str, (Plan*)node);
495494

496495
/* the actual Group fields */
497-
appendStringInfo(str," :numCols %d :tuplePerGroup %s,
496+
appendStringInfo(str," :numCols %d :tuplePerGroup %s ",
498497
node->numCols,
499498
node->tuplePerGroup ?"true" :"false");
500499
}
@@ -526,7 +525,6 @@ _outHash(StringInfo str, Hash *node)
526525
appendStringInfo(str," :hashkey ");
527526
_outNode(str,node->hashkey);
528527

529-
sprintf(buf," :hashtable 0x%x ", (int) (node->hashtable));
530528
appendStringInfo(str," :hashtable 0x%x :hashtablekey %d :hashtablesize %d ",
531529
(int)node->hashtable,
532530
node->hashtablekey,

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp