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

Commit4cae42b

Browse files
committed
fix paramsel in handle_const()
1 parent72d88ab commit4cae42b

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

‎src/pg_pathman.c

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -803,7 +803,7 @@ handle_const(const Const *c,
803803
PrelChildrenCount(prel));
804804

805805
result->rangeset=list_make1_irange(make_irange(idx,idx,IR_LOSSY));
806-
result->paramsel=estimate_paramsel_using_prel(prel,strategy);
806+
result->paramsel=1.0;
807807

808808
return;/* done, exit */
809809
}
@@ -828,9 +828,8 @@ handle_const(const Const *c,
828828
PrelGetRangesArray(context->prel),
829829
PrelChildrenCount(context->prel),
830830
strategy,
831-
result);/* output */
832-
833-
result->paramsel=estimate_paramsel_using_prel(prel,strategy);
831+
result);/* result->rangeset = ... */
832+
result->paramsel=1.0;
834833

835834
return;/* done, exit */
836835
}
@@ -841,7 +840,7 @@ handle_const(const Const *c,
841840

842841
handle_const_return:
843842
result->rangeset=list_make1_irange_full(prel,IR_LOSSY);
844-
result->paramsel=estimate_paramsel_using_prel(prel,strategy);
843+
result->paramsel=1.0;
845844
}
846845

847846
/* Array handler */

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp