Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit99c24a4

Browse files
akorotkovzilder
authored andcommitted
Fix bug with fullrange.
1 parentdb84ffb commit99c24a4

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

‎contrib/pathman/pathman.c

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -239,8 +239,6 @@ my_hook(PlannerInfo *root, RelOptInfo *rel, Index rti, RangeTblEntry *rte)
239239
RangeTblEntry**new_rte_array;
240240
intlen=irange_list_length(ranges);
241241

242-
elog(NOTICE,"%d",len);
243-
244242
/* Expand simple_rel_array and simple_rte_array */
245243
ereport(LOG, (errmsg("Expanding simple_rel_array")));
246244

@@ -627,14 +625,14 @@ handle_binary_opexpr(const PartRelationInfo *prel, WrapperNode *result,
627625
if ((cmp_min<0&&strategy==BTGreaterStrategyNumber)||
628626
(cmp_min <=0&&strategy==BTGreaterEqualStrategyNumber))
629627
{
630-
result->rangeset=list_make1_irange(make_irange(startidx,endidx,true));
628+
result->rangeset=list_make1_irange(make_irange(startidx,endidx,false));
631629
return;
632630
}
633631

634632
if (cmp_max >=0&& (strategy==BTLessEqualStrategyNumber||
635633
strategy==BTLessStrategyNumber))
636634
{
637-
result->rangeset=list_make1_irange(make_irange(startidx,endidx,true));
635+
result->rangeset=list_make1_irange(make_irange(startidx,endidx,false));
638636
return;
639637
}
640638
}

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp