Skip to content

Commit f217761

Browse files
committed
Fix bug in clearing of virtual tuple slot.
I broke/typoed this in 4da597e. Astonishingly this mostly doesn't cause breakage, except when trying to change the tuple descriptor of a slot (because TTS_FLAG_FIXED is assumed to be set). Author: Andres Freund
1 parent 93473c6 commit f217761

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/backend/executor/execTuples.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ tts_virtual_clear(TupleTableSlot *slot)
114114
pfree(vslot->data);
115115
vslot->data = NULL;
116116

117-
slot->tts_flags = ~TTS_FLAG_SHOULDFREE;
117+
slot->tts_flags &= ~TTS_FLAG_SHOULDFREE;
118118
}
119119

120120
slot->tts_nvalid = 0;

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