Commit f9db153c authored by Alvaro Herrera's avatar Alvaro Herrera

Fix silly mistake in Assert

parent f185f35a
......@@ -4778,7 +4778,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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment