git.postgresql.org Git - postgresql.git/commitdiff

git projects / postgresql.git / commitdiff
? search:
summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: f97de05)
Suppress unused-variable warning.
2017年2月21日 22:58:24 +0000 (17:58 -0500)
2017年2月21日 22:58:24 +0000 (17:58 -0500)
Rearrange so we don't have an unused variable in disable-cassert case.

Discussion: https://postgr.es/m/CAMkU=1x63f2QyFTeas83xJqD+Hm1PBuok1LrzYzS-OngDzYOVA@mail.gmail.com


diff --git a/src/backend/optimizer/path/indxpath.c b/src/backend/optimizer/path/indxpath.c
index 9c069983d912b1679c7a4070a7668558a02b23a8..d8e5b811268be0c7390433200c17c0c443c64137 100644 (file)
--- a/src/backend/optimizer/path/indxpath.c
+++ b/src/backend/optimizer/path/indxpath.c
@@ -1313,7 +1313,7 @@ generate_bitmap_or_paths(PlannerInfo *root, RelOptInfo *rel,
List *orargs;
Assert(!restriction_is_or_clause(rinfo));
- orargs = list_make1(orarg);
+ orargs = list_make1(rinfo);
indlist = build_paths_for_OR(root, rel,
orargs,
This is the main PostgreSQL git repository.
RSS Atom

AltStyle によって変換されたページ (->オリジナル) /