mirror of
https://github.com/postgres/postgres.git
synced 2025-04-21 12:05:57 +03:00
Remove unused Choose node.
This commit is contained in:
parent
e6725d1574
commit
598a4e15dd
@ -7,7 +7,7 @@
|
|||||||
*
|
*
|
||||||
*
|
*
|
||||||
* IDENTIFICATION
|
* IDENTIFICATION
|
||||||
* $Header: /cvsroot/pgsql/src/backend/optimizer/plan/setrefs.c,v 1.30 1999/01/18 00:09:48 momjian Exp $
|
* $Header: /cvsroot/pgsql/src/backend/optimizer/plan/setrefs.c,v 1.31 1999/01/23 23:28:08 momjian Exp $
|
||||||
*
|
*
|
||||||
*-------------------------------------------------------------------------
|
*-------------------------------------------------------------------------
|
||||||
*/
|
*/
|
||||||
@ -82,13 +82,6 @@ set_tlist_references(Plan *plan)
|
|||||||
set_result_tlist_references((Result *) plan);
|
set_result_tlist_references((Result *) plan);
|
||||||
else if (IsA(plan, Hash))
|
else if (IsA(plan, Hash))
|
||||||
set_tlist_references(plan->lefttree);
|
set_tlist_references(plan->lefttree);
|
||||||
else if (IsA(plan, Choose))
|
|
||||||
{
|
|
||||||
List *x;
|
|
||||||
|
|
||||||
foreach(x, ((Choose *) plan)->chooseplanlist)
|
|
||||||
set_tlist_references((Plan *) lfirst(x));
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
@ -6,7 +6,7 @@
|
|||||||
*
|
*
|
||||||
* Copyright (c) 1994, Regents of the University of California
|
* Copyright (c) 1994, Regents of the University of California
|
||||||
*
|
*
|
||||||
* $Id: plannodes.h,v 1.19 1998/11/22 10:45:09 vadim Exp $
|
* $Id: plannodes.h,v 1.20 1999/01/23 23:28:09 momjian Exp $
|
||||||
*
|
*
|
||||||
*-------------------------------------------------------------------------
|
*-------------------------------------------------------------------------
|
||||||
*/
|
*/
|
||||||
@ -328,16 +328,6 @@ typedef struct Hash
|
|||||||
int hashtablesize;
|
int hashtablesize;
|
||||||
} Hash;
|
} Hash;
|
||||||
|
|
||||||
/* ---------------------
|
|
||||||
* choose node
|
|
||||||
* ---------------------
|
|
||||||
*/
|
|
||||||
typedef struct Choose
|
|
||||||
{
|
|
||||||
Plan plan;
|
|
||||||
List *chooseplanlist;
|
|
||||||
} Choose;
|
|
||||||
|
|
||||||
/* -------------------
|
/* -------------------
|
||||||
* Tee node information
|
* Tee node information
|
||||||
*
|
*
|
||||||
|
Loading…
x
Reference in New Issue
Block a user