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

Commitfc022d7

Browse files
committed
Fix stupid parenthesization mistake. Per bug #4728 from Bruce Toll.
1 parentff301d6 commitfc022d7

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

‎src/backend/optimizer/plan/planner.c

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
*
99
*
1010
* IDENTIFICATION
11-
* $PostgreSQL: pgsql/src/backend/optimizer/plan/planner.c,v 1.251 2009/01/09 15:46:10 tgl Exp $
11+
* $PostgreSQL: pgsql/src/backend/optimizer/plan/planner.c,v 1.252 2009/03/24 21:12:56 tgl Exp $
1212
*
1313
*-------------------------------------------------------------------------
1414
*/
@@ -2546,8 +2546,8 @@ get_column_info_for_window(PlannerInfo *root, WindowClause *wc, List *tlist,
25462546
if (list_length(new_pathkeys)>list_length(pathkeys))
25472547
{
25482548
/* this sort clause is actually significant */
2549-
*partColIdx[*partNumCols]=sortColIdx[scidx++];
2550-
*partOperators[*partNumCols]=sgc->eqop;
2549+
(*partColIdx)[*partNumCols]=sortColIdx[scidx++];
2550+
(*partOperators)[*partNumCols]=sgc->eqop;
25512551
(*partNumCols)++;
25522552
pathkeys=new_pathkeys;
25532553
}
@@ -2565,8 +2565,8 @@ get_column_info_for_window(PlannerInfo *root, WindowClause *wc, List *tlist,
25652565
if (list_length(new_pathkeys)>list_length(pathkeys))
25662566
{
25672567
/* this sort clause is actually significant */
2568-
*ordColIdx[*ordNumCols]=sortColIdx[scidx++];
2569-
*ordOperators[*ordNumCols]=sgc->eqop;
2568+
(*ordColIdx)[*ordNumCols]=sortColIdx[scidx++];
2569+
(*ordOperators)[*ordNumCols]=sgc->eqop;
25702570
(*ordNumCols)++;
25712571
pathkeys=new_pathkeys;
25722572
}

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp