mirror of
https://github.com/postgres/postgres.git
synced 2025-05-03 22:24:49 +03:00
Optimizer cleanups.
This commit is contained in:
parent
ae12e25263
commit
c45e4925ab
@ -7,7 +7,7 @@
|
|||||||
*
|
*
|
||||||
*
|
*
|
||||||
* IDENTIFICATION
|
* IDENTIFICATION
|
||||||
* $Header: /cvsroot/pgsql/src/backend/optimizer/path/Attic/prune.c,v 1.19 1999/02/04 19:20:11 momjian Exp $
|
* $Header: /cvsroot/pgsql/src/backend/optimizer/path/Attic/prune.c,v 1.20 1999/02/04 23:19:53 momjian Exp $
|
||||||
*
|
*
|
||||||
*-------------------------------------------------------------------------
|
*-------------------------------------------------------------------------
|
||||||
*/
|
*/
|
||||||
@ -139,7 +139,6 @@ prune_rel_path(RelOptInfo * rel, Path *unorderedpath)
|
|||||||
/* don't prune if not pruneable -- JMH, 11/23/92 */
|
/* don't prune if not pruneable -- JMH, 11/23/92 */
|
||||||
if (unorderedpath != cheapest && rel->pruneable)
|
if (unorderedpath != cheapest && rel->pruneable)
|
||||||
{
|
{
|
||||||
|
|
||||||
rel->unorderedpath = (Path *) NULL;
|
rel->unorderedpath = (Path *) NULL;
|
||||||
rel->pathlist = lremove(unorderedpath, rel->pathlist);
|
rel->pathlist = lremove(unorderedpath, rel->pathlist);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user