mirror of
https://github.com/postgres/postgres.git
synced 2025-04-22 23:02:54 +03:00
Fix bug in clearing of virtual tuple slot.
I broke/typoed this in 4da597edf1bae0c. 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
This commit is contained in:
parent
93473c6ac8
commit
f217761856
@ -114,7 +114,7 @@ tts_virtual_clear(TupleTableSlot *slot)
|
||||
pfree(vslot->data);
|
||||
vslot->data = NULL;
|
||||
|
||||
slot->tts_flags = ~TTS_FLAG_SHOULDFREE;
|
||||
slot->tts_flags &= ~TTS_FLAG_SHOULDFREE;
|
||||
}
|
||||
|
||||
slot->tts_nvalid = 0;
|
||||
|
Loading…
x
Reference in New Issue
Block a user