mirror of
https://github.com/postgres/postgres.git
synced 2026-04-23 07:07:22 -04:00
Remove useless assertion.
Here, snapshot->xcnt is an unsigned type, so it will always be non-negative.
This commit is contained in:
parent
5850b20f58
commit
ae6157164f
1 changed files with 0 additions and 1 deletions
|
|
@ -1480,7 +1480,6 @@ SerializeSnapshot(Snapshot snapshot, char *start_address)
|
|||
{
|
||||
SerializedSnapshotData *serialized_snapshot;
|
||||
|
||||
Assert(snapshot->xcnt >= 0);
|
||||
Assert(snapshot->subxcnt >= 0);
|
||||
|
||||
serialized_snapshot = (SerializedSnapshotData *) start_address;
|
||||
|
|
|
|||
Loading…
Reference in a new issue