未验证 提交 f66037c0 编写于 作者: Z Zhenghua Lyu 提交者: GitHub

Remove redundant Assert in localXidSatisfiesAnyDistributedSnapshot.

Right below we have an if-statement to check the same thing as
this assert.
上级 1f936078
......@@ -51,7 +51,6 @@ bool
localXidSatisfiesAnyDistributedSnapshot(TransactionId localXid)
{
DistributedSnapshotCommitted distributedSnapshotCommitted;
Assert(TransactionIdIsNormal(localXid));
/*
* In general expect this function to be called only for normal xid, as
......
-- Test vacuum a catalog can succeed.
-- Previously, we have a redundant Assert in the function
-- localXidSatisfiesAnyDistributedSnapshot that will fail this.
-- See Github Issue 6793.
vacuum full pg_proc;
set optimizer_print_missing_stats = off;
-- MPP-23647 Create a partitioned appendonly table, let its age
-- increase during the test. We will vacuum it at the end of the
......
-- Test vacuum a catalog can succeed.
-- Previously, we have a redundant Assert in the function
-- localXidSatisfiesAnyDistributedSnapshot that will fail this.
-- See Github Issue 6793.
vacuum full pg_proc;
set optimizer_print_missing_stats = off;
-- MPP-23647 Create a partitioned appendonly table, let its age
-- increase during the test. We will vacuum it at the end of the
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册