diff options
author | Robert Haas | 2015-05-13 15:01:10 +0000 |
---|---|---|
committer | Robert Haas | 2015-05-13 15:01:10 +0000 |
commit | ae6157164faf5ec1636a9acfe18bfd28a31db098 (patch) | |
tree | 6a55ed550d3fb39963fe32042fee7a78463fa42b /src | |
parent | 5850b20f58a594ac69f4f77b24cad94fc3bfd946 (diff) |
Remove useless assertion.
Here, snapshot->xcnt is an unsigned type, so it will always be
non-negative.
Diffstat (limited to 'src')
-rw-r--r-- | src/backend/utils/time/snapmgr.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/backend/utils/time/snapmgr.c b/src/backend/utils/time/snapmgr.c index a2cb4a037ff..f4bdabfd791 100644 --- a/src/backend/utils/time/snapmgr.c +++ b/src/backend/utils/time/snapmgr.c @@ -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; |