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

Commitb31875b

Browse files
committed
Fix thinko in copyParamList.
There's no point in consulting retval->paramMask; it's always NULL.Instead, we should consult from->paramMask.Reported by Andrew Gierth.
1 parentd8411a6 commitb31875b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎src/backend/nodes/params.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,8 +61,8 @@ copyParamList(ParamListInfo from)
6161
booltypByVal;
6262

6363
/* Ignore parameters we don't need, to save cycles and space. */
64-
if (retval->paramMask!=NULL&&
65-
!bms_is_member(i,retval->paramMask))
64+
if (from->paramMask!=NULL&&
65+
!bms_is_member(i,from->paramMask))
6666
{
6767
nprm->value= (Datum)0;
6868
nprm->isnull= true;

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp