Skip to content

Commit ae61571

Browse files
committed
Remove useless assertion.
Here, snapshot->xcnt is an unsigned type, so it will always be non-negative.
1 parent 5850b20 commit ae61571

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/backend/utils/time/snapmgr.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1480,7 +1480,6 @@ SerializeSnapshot(Snapshot snapshot, char *start_address)
14801480
{
14811481
SerializedSnapshotData *serialized_snapshot;
14821482

1483-
Assert(snapshot->xcnt >= 0);
14841483
Assert(snapshot->subxcnt >= 0);
14851484

14861485
serialized_snapshot = (SerializedSnapshotData *) start_address;

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy