diff options
author | Bruce Momjian <bruce@momjian.us> | 1997-08-19 21:40:56 +0000 |
---|---|---|
committer | Bruce Momjian <bruce@momjian.us> | 1997-08-19 21:40:56 +0000 |
commit | 1d8bbfd2e7cfb72cbe4d5c5d4fa650a28dedac0b (patch) | |
tree | 8d3a5dac9207f22c3afb8afb563d54f88774deb3 /src/backend/executor/nodeHashjoin.c | |
parent | b992e200b8872ecb6652ec85111995f8d4c5aee0 (diff) | |
download | postgresql-1d8bbfd2e7cfb72cbe4d5c5d4fa650a28dedac0b.tar.gz postgresql-1d8bbfd2e7cfb72cbe4d5c5d4fa650a28dedac0b.zip |
Make functions static where possible, enclose unused functions in #ifdef NOT_USED.
Diffstat (limited to 'src/backend/executor/nodeHashjoin.c')
-rw-r--r-- | src/backend/executor/nodeHashjoin.c | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/src/backend/executor/nodeHashjoin.c b/src/backend/executor/nodeHashjoin.c index 55c77ef9d88..c9f24efe193 100644 --- a/src/backend/executor/nodeHashjoin.c +++ b/src/backend/executor/nodeHashjoin.c @@ -7,7 +7,7 @@ * * * IDENTIFICATION - * $Header: /cvsroot/pgsql/src/backend/executor/nodeHashjoin.c,v 1.4 1997/07/28 00:54:06 momjian Exp $ + * $Header: /cvsroot/pgsql/src/backend/executor/nodeHashjoin.c,v 1.5 1997/08/19 21:31:09 momjian Exp $ * *------------------------------------------------------------------------- */ @@ -39,6 +39,13 @@ static TupleTableSlot * ExecHashJoinGetSavedTuple(HashJoinState *hjstate, char *buffer, File file, TupleTableSlot *tupleSlot, int *block, char **position); +static int ExecHashJoinGetBatch(int bucketno, HashJoinTable hashtable, + int nbatch); + +static int ExecHashJoinNewBatch(HashJoinState *hjstate); + + + /* ---------------------------------------------------------------- * ExecHashJoin * @@ -624,7 +631,7 @@ ExecHashJoinGetSavedTuple(HashJoinState *hjstate, * switch to a new hashjoin batch * ---------------------------------------------------------------- */ -int +static int ExecHashJoinNewBatch(HashJoinState *hjstate) { File *innerBatches; @@ -742,7 +749,7 @@ ExecHashJoinNewBatch(HashJoinState *hjstate) * batch 0 1 2 ... * ---------------------------------------------------------------- */ -int +static int ExecHashJoinGetBatch(int bucketno, HashJoinTable hashtable, int nbatch) { int b; |