提交 747724c1 编写于 作者: H Heikki Linnakangas

Clean up overly complicated Assert.

上级 d75c0f2b
......@@ -627,8 +627,7 @@ DefineIndex(RangeVar *heapRelation,
/* create the index on the QEs first, so we can get their stats when we create on the QD */
if (stmt)
{
Assert(stmt->idxOids == 0 ||
stmt->idxOids == (List*)NULL);
Assert(stmt->idxOids == NIL);
stmt->idxOids = NIL;
stmt->idxOids = lappend_oid(stmt->idxOids, indexRelationId);
stmt->idxOids = lappend_oid(stmt->idxOids, iiopaque->comptypeOid);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册