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

Commitc831d08

Browse files
committed
Fix for Alpha OR selectivity bug.
1 parent75007a7 commitc831d08

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎src/backend/optimizer/path/orindxpath.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
*
88
*
99
* IDENTIFICATION
10-
* $Header: /cvsroot/pgsql/src/backend/optimizer/path/orindxpath.c,v 1.21 1999/02/21 03:48:45 scrappy Exp $
10+
* $Header: /cvsroot/pgsql/src/backend/optimizer/path/orindxpath.c,v 1.22 1999/03/08 13:35:50 momjian Exp $
1111
*
1212
*-------------------------------------------------------------------------
1313
*/
@@ -132,7 +132,7 @@ create_or_index_paths(Query *root,
132132
((Path*)pathnode)->path_cost+=xfunc_get_path_cost((Path)pathnode);
133133
}
134134
#endif
135-
clausenode->selectivity= (Cost)floatVal(selecs);
135+
clausenode->selectivity= (Cost)floatVal(lfirst(selecs));
136136
t_list=lappend(t_list,pathnode);
137137
}
138138
}

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp