mirror of
https://github.com/postgres/postgres.git
synced 2025-05-18 17:41:14 +03:00
Still another place to make the world safe for zero-column tables.
Per example from Jiang Wei.
This commit is contained in:
parent
2fde466135
commit
d9bbf47aaa
@ -8,7 +8,7 @@
|
||||
*
|
||||
*
|
||||
* IDENTIFICATION
|
||||
* $Header: /cvsroot/pgsql/src/backend/executor/execJunk.c,v 1.36 2003/08/11 20:46:46 tgl Exp $
|
||||
* $Header: /cvsroot/pgsql/src/backend/executor/execJunk.c,v 1.36.4.1 2004/04/07 18:46:20 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 (HeapTuple) NULL;
|
||||
|
||||
/*
|
||||
* Create the arrays that will hold the attribute values and the null
|
||||
* information for the new "clean" tuple.
|
||||
|
Loading…
x
Reference in New Issue
Block a user