Correct some typos...

This commit is contained in:
Marc G. Fournier 1998-12-15 02:32:57 +00:00
parent c1bc907f01
commit 3b8854ff93
1 changed files with 5 additions and 7 deletions

View File

@ -5,7 +5,7 @@
* *
* Copyright (c) 1994, Regents of the University of California * Copyright (c) 1994, Regents of the University of California
* *
* $Id: outfuncs.c,v 1.53 1998/12/15 02:24:15 scrappy Exp $ * $Id: outfuncs.c,v 1.54 1998/12/15 02:32:57 scrappy Exp $
* *
* NOTES * NOTES
* Every (plan) node in POSTGRES has an associated "out" routine which * Every (plan) node in POSTGRES has an associated "out" routine which
@ -132,9 +132,9 @@ _outTypeName(StringInfo str, TypeName *node)
appendStringInfo(str, appendStringInfo(str,
" TYPENAME :name %s :timezone %s :setof %s typmod %d :arrayBounds ", " TYPENAME :name %s :timezone %s :setof %s typmod %d :arrayBounds ",
node->name, node->name,
node->timezone ? "true" : "false, node->timezone ? "true" : "false",
node->setof ? "true" : "false", node->setof ? "true" : "false",
node->typemod); node->typmod);
appendStringInfo(str, " :arrayBounds "); appendStringInfo(str, " :arrayBounds ");
_outNode(str, node->arrayBounds); _outNode(str, node->arrayBounds);
@ -274,7 +274,7 @@ _outPlanInfo(StringInfo str, Plan *node)
appendStringInfo(str, " :initplan "); appendStringInfo(str, " :initplan ");
_outNode(str, node->initPlan); _outNode(str, node->initPlan);
appendStringInfo(str, " :nprm %d ", node-nParamExec); appendStringInfo(str, " :nprm %d ", node->nParamExec);
} }
/* /*
@ -353,7 +353,6 @@ _outMergeJoin(StringInfo str, MergeJoin *node)
appendStringInfo(str, " :mergeclauses "); appendStringInfo(str, " :mergeclauses ");
_outNode(str, node->mergeclauses); _outNode(str, node->mergeclauses);
snprintf(buf, 500, " :mergejoinop %u ", node->mergejoinop);
appendStringInfo(str, appendStringInfo(str,
" :mergejoinop %u :mergerightorder %u :mergeleftorder %u ", " :mergejoinop %u :mergerightorder %u :mergeleftorder %u ",
node->mergejoinop, node->mergejoinop,
@ -494,7 +493,7 @@ _outGroup(StringInfo str, Group *node)
_outPlanInfo(str, (Plan *) node); _outPlanInfo(str, (Plan *) node);
/* the actual Group fields */ /* the actual Group fields */
appendStringInfo(str, " :numCols %d :tuplePerGroup %s, appendStringInfo(str, " :numCols %d :tuplePerGroup %s ",
node->numCols, node->numCols,
node->tuplePerGroup ? "true" : "false"); node->tuplePerGroup ? "true" : "false");
} }
@ -526,7 +525,6 @@ _outHash(StringInfo str, Hash *node)
appendStringInfo(str, " :hashkey "); appendStringInfo(str, " :hashkey ");
_outNode(str, node->hashkey); _outNode(str, node->hashkey);
sprintf(buf, " :hashtable 0x%x ", (int) (node->hashtable));
appendStringInfo(str, " :hashtable 0x%x :hashtablekey %d :hashtablesize %d ", appendStringInfo(str, " :hashtable 0x%x :hashtablekey %d :hashtablesize %d ",
(int) node->hashtable, (int) node->hashtable,
node->hashtablekey, node->hashtablekey,