Fix for Alpha OR selectivity bug.
This commit is contained in:
parent
75007a72d6
commit
c831d08fac
@ -7,7 +7,7 @@
|
|||||||
*
|
*
|
||||||
*
|
*
|
||||||
* IDENTIFICATION
|
* IDENTIFICATION
|
||||||
* $Header: /cvsroot/pgsql/src/backend/optimizer/path/orindxpath.c,v 1.21 1999/02/21 03:48:45 scrappy Exp $
|
* $Header: /cvsroot/pgsql/src/backend/optimizer/path/orindxpath.c,v 1.22 1999/03/08 13:35:50 momjian Exp $
|
||||||
*
|
*
|
||||||
*-------------------------------------------------------------------------
|
*-------------------------------------------------------------------------
|
||||||
*/
|
*/
|
||||||
@ -132,7 +132,7 @@ create_or_index_paths(Query *root,
|
|||||||
((Path *) pathnode)->path_cost += xfunc_get_path_cost((Path) pathnode);
|
((Path *) pathnode)->path_cost += xfunc_get_path_cost((Path) pathnode);
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
clausenode->selectivity = (Cost) floatVal(selecs);
|
clausenode->selectivity = (Cost) floatVal(lfirst(selecs));
|
||||||
t_list = lappend(t_list, pathnode);
|
t_list = lappend(t_list, pathnode);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user