Content-Length: 258194 | pFad | http://github.com/postgrespro/postgres/commit/f21776185648537a7bb82dfdf89991fb2e0b9ca5

72 Fix bug in clearing of virtual tuple slot. · postgrespro/postgres@f217761 · GitHub
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)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/postgrespro/postgres/commit/f21776185648537a7bb82dfdf89991fb2e0b9ca5

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy