mirror of
https://github.com/zebrajr/postgres.git
synced 2025-12-06 12:20:15 +01:00
Fix silly mistake in Assert
This commit is contained in:
parent
f66885bec0
commit
67a8cb5cbf
|
|
@ -4759,7 +4759,8 @@ failed:
|
|||
* this assert is slightly different from the equivalent one in
|
||||
* heap_delete and heap_update.
|
||||
*/
|
||||
Assert(TM_WouldBlock || !(tuple->t_data->t_infomask & HEAP_XMAX_INVALID));
|
||||
Assert((result == TM_WouldBlock) ||
|
||||
!(tuple->t_data->t_infomask & HEAP_XMAX_INVALID));
|
||||
Assert(result != TM_Updated ||
|
||||
!ItemPointerEquals(&tuple->t_self, &tuple->t_data->t_ctid));
|
||||
tmfd->ctid = tuple->t_data->t_ctid;
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user