mirror of
https://git.postgresql.org/git/postgresql.git
synced 2024-09-05 06:57:20 +02:00
Fix silly mistake in Assert
This commit is contained in:
parent
6b681cd056
commit
397b439488
@ -4536,7 +4536,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(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 ||
|
Assert(result != TM_Updated ||
|
||||||
!ItemPointerEquals(&tuple->t_self, &tuple->t_data->t_ctid));
|
!ItemPointerEquals(&tuple->t_self, &tuple->t_data->t_ctid));
|
||||||
tmfd->ctid = tuple->t_data->t_ctid;
|
tmfd->ctid = tuple->t_data->t_ctid;
|
||||||
|
Loading…
Reference in New Issue
Block a user