diff options
author | Bruce Momjian <bruce@momjian.us> | 1999-02-04 03:19:11 +0000 |
---|---|---|
committer | Bruce Momjian <bruce@momjian.us> | 1999-02-04 03:19:11 +0000 |
commit | ce3afccf7f7ca7e2338d1a1a9213eb96de150743 (patch) | |
tree | b6da5874d3b0f2b4e91875902dd0633880899891 /src/backend/optimizer/path/joinpath.c | |
parent | 18fbe4142faf32228ad40881eb61bb35bf523e61 (diff) | |
download | postgresql-ce3afccf7f7ca7e2338d1a1a9213eb96de150743.tar.gz postgresql-ce3afccf7f7ca7e2338d1a1a9213eb96de150743.zip |
More optimizer cleanups.
Diffstat (limited to 'src/backend/optimizer/path/joinpath.c')
-rw-r--r-- | src/backend/optimizer/path/joinpath.c | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/src/backend/optimizer/path/joinpath.c b/src/backend/optimizer/path/joinpath.c index 991290178f6..7a5f4889b16 100644 --- a/src/backend/optimizer/path/joinpath.c +++ b/src/backend/optimizer/path/joinpath.c @@ -7,7 +7,7 @@ * * * IDENTIFICATION - * $Header: /cvsroot/pgsql/src/backend/optimizer/path/joinpath.c,v 1.13 1999/02/04 01:46:57 momjian Exp $ + * $Header: /cvsroot/pgsql/src/backend/optimizer/path/joinpath.c,v 1.14 1999/02/04 03:19:08 momjian Exp $ * *------------------------------------------------------------------------- */ @@ -162,7 +162,6 @@ find_all_join_paths(Query *root, List *joinrels) temp_list = innerrel->pathlist; foreach(path, temp_list) { - /* * XXX * @@ -235,7 +234,7 @@ sort_inner_and_outer(RelOptInfo * joinrel, List *mergeinfo_list) { List *ms_list = NIL; - MInfo *xmergeinfo = (MInfo *) NULL; + MergeInfo *xmergeinfo = (MergeInfo *) NULL; MergePath *temp_node = (MergePath *) NULL; List *i; List *outerkeys = NIL; @@ -244,7 +243,7 @@ sort_inner_and_outer(RelOptInfo * joinrel, foreach(i, mergeinfo_list) { - xmergeinfo = (MInfo *) lfirst(i); + xmergeinfo = (MergeInfo *) lfirst(i); outerkeys = extract_path_keys(xmergeinfo->jmethod.jmkeys, outerrel->targetlist, @@ -325,7 +324,7 @@ match_unsorted_outer(RelOptInfo * joinrel, List *clauses = NIL; List *matchedJoinKeys = NIL; List *matchedJoinClauses = NIL; - MInfo *xmergeinfo = (MInfo *) NULL; + MergeInfo *xmergeinfo = (MergeInfo *) NULL; outerpath = (Path *) lfirst(i); @@ -465,7 +464,7 @@ match_unsorted_inner(RelOptInfo * joinrel, foreach(i, innerpath_list) { - MInfo *xmergeinfo = (MInfo *) NULL; + MergeInfo *xmergeinfo = (MergeInfo *) NULL; List *clauses = NIL; List *matchedJoinKeys = NIL; List *matchedJoinClauses = NIL; @@ -579,7 +578,7 @@ hash_inner_and_outer(RelOptInfo * joinrel, RelOptInfo * innerrel, List *hashinfo_list) { - HashInfo *xhashinfo = (HashInfo *) NULL; + HashInfo *xhashinfo = (HashInfo *) NULL; List *hjoin_list = NIL; HashPath *temp_node = (HashPath *) NULL; List *i = NIL; |