Skip to content

Commit 3b8854f

Browse files
committed
Correct some typos...
1 parent c1bc907 commit 3b8854f

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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy