Skip to content

Commit 0bb21d3

Browse files
committed
Still another place to make the world safe for zero-column tables.
Per example from Jiang Wei.
1 parent 75688a2 commit 0bb21d3

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

src/backend/executor/execJunk.c

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
*
99
*
1010
* IDENTIFICATION
11-
* $PostgreSQL: pgsql/src/backend/executor/execJunk.c,v 1.38 2004/01/07 18:56:26 neilc Exp $
11+
* $PostgreSQL: pgsql/src/backend/executor/execJunk.c,v 1.39 2004/04/07 18:46:12 tgl Exp $
1212
*
1313
*-------------------------------------------------------------------------
1414
*/
@@ -263,12 +263,6 @@ ExecRemoveJunk(JunkFilter *junkfilter, TupleTableSlot *slot)
263263
cleanLength = junkfilter->jf_cleanLength;
264264
cleanMap = junkfilter->jf_cleanMap;
265265

266-
/*
267-
* Handle the trivial case first.
268-
*/
269-
if (cleanLength == 0)
270-
return NULL;
271-
272266
/*
273267
* Create the arrays that will hold the attribute values and the null
274268
* information for the new "clean" tuple.

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy