mirror of
https://github.com/postgres/postgres.git
synced 2026-04-15 22:10:45 -04:00
Fix silly mistake in Assert
This commit is contained in:
parent
026a93727c
commit
4a8282425f
1 changed files with 2 additions and 1 deletions
|
|
@ -5095,7 +5095,8 @@ failed:
|
|||
* this assert is slightly different from the equivalent one in
|
||||
* 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->xmax = HeapTupleHeaderGetUpdateXid(tuple->t_data);
|
||||
if (result == HeapTupleSelfUpdated)
|
||||
|
|
|
|||
Loading…
Reference in a new issue