Fix silly mistake in Assert
This commit is contained in:
parent
28cd57416e
commit
b63851a456
@ -5241,7 +5241,8 @@ failed:
|
|||||||
* this assert is slightly different from the equivalent one in
|
* this assert is slightly different from the equivalent one in
|
||||||
* heap_delete and heap_update.
|
* heap_delete and heap_update.
|
||||||
*/
|
*/
|
||||||
Assert(HeapTupleWouldBlock || !(tuple->t_data->t_infomask & HEAP_XMAX_INVALID));
|
Assert((result == HeapTupleWouldBlock) ||
|
||||||
|
!(tuple->t_data->t_infomask & HEAP_XMAX_INVALID));
|
||||||
hufd->ctid = tuple->t_data->t_ctid;
|
hufd->ctid = tuple->t_data->t_ctid;
|
||||||
hufd->xmax = HeapTupleHeaderGetUpdateXid(tuple->t_data);
|
hufd->xmax = HeapTupleHeaderGetUpdateXid(tuple->t_data);
|
||||||
if (result == HeapTupleSelfUpdated)
|
if (result == HeapTupleSelfUpdated)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user