Commit 0bb21d39 authored by Tom Lane's avatar Tom Lane

Still another place to make the world safe for zero-column tables.

Per example from Jiang Wei.
parent 75688a27
......@@ -8,7 +8,7 @@
*
*
* IDENTIFICATION
* $PostgreSQL: pgsql/src/backend/executor/execJunk.c,v 1.38 2004/01/07 18:56:26 neilc Exp $
* $PostgreSQL: pgsql/src/backend/executor/execJunk.c,v 1.39 2004/04/07 18:46:12 tgl Exp $
*
*-------------------------------------------------------------------------
*/
......@@ -263,12 +263,6 @@ ExecRemoveJunk(JunkFilter *junkfilter, TupleTableSlot *slot)
cleanLength = junkfilter->jf_cleanLength;
cleanMap = junkfilter->jf_cleanMap;
/*
* Handle the trivial case first.
*/
if (cleanLength == 0)
return NULL;
/*
* Create the arrays that will hold the attribute values and the null
* information for the new "clean" tuple.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment