OSDN Git Service
(root)
/
pghintplan
/
pg_hint_plan.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Rename current_hint to current_hint_state
[pghintplan/pg_hint_plan.git]
/
make_join_rel.c
diff --git
a/make_join_rel.c
b/make_join_rel.c
index
75ca4ec
..
311f3d8
100644
(file)
--- a/
make_join_rel.c
+++ b/
make_join_rel.c
@@
-127,9
+127,9
@@
make_join_rel(PlannerInfo *root, RelOptInfo *rel1, RelOptInfo *rel2)
RowsHint *domultiply = NULL;
/* Search for applicable rows hint for this join node */
RowsHint *domultiply = NULL;
/* Search for applicable rows hint for this join node */
- for (i = 0; i < current_hint->num_hints[HINT_TYPE_ROWS]; i++)
+ for (i = 0; i < current_hint
_state
->num_hints[HINT_TYPE_ROWS]; i++)
{
{
- rows_hint = current_hint->rows_hints[i];
+ rows_hint = current_hint
_state
->rows_hints[i];
/*
* Skip this rows_hint if it is invalid from the first or it
/*
* Skip this rows_hint if it is invalid from the first or it