Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit b15b768

Browse files
committed
Fix for drop database and junk filters.
1 parent e84f8a4 commit b15b768

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/backend/executor/execMain.c

+3-2
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
*
2727
*
2828
* IDENTIFICATION
29-
* $Header: /cvsroot/pgsql/src/backend/executor/execMain.c,v 1.46 1998/05/21 03:53:50 scrappy Exp $
29+
* $Header: /cvsroot/pgsql/src/backend/executor/execMain.c,v 1.47 1998/05/26 03:44:07 momjian Exp $
3030
*
3131
*-------------------------------------------------------------------------
3232
*/
@@ -530,7 +530,8 @@ InitPlan(CmdType operation, Query *parseTree, Plan *plan, EState *estate)
530530
JunkFilter *j = (JunkFilter *) ExecInitJunkFilter(targetList);
531531
estate->es_junkFilter = j;
532532

533-
tupType = j->jf_cleanTupType; /* Added by daveh@insightdist.com 5/20/98 */
533+
if (operation == CMD_SELECT)
534+
tupType = j->jf_cleanTupType;
534535
}
535536
else
536537
estate->es_junkFilter = NULL;

0 commit comments

Comments
 (0)