提交 a25ef7a5 编写于 作者: T Tom Lane

Remove useless variable to suppress compiler warning.

上级 d24ac36f
......@@ -1292,8 +1292,7 @@ index_drop(Oid indexId, bool concurrent)
bool hasexprs;
LockRelId heaprelid,
indexrelid;
LOCKTAG heaplocktag,
indexlocktag;
LOCKTAG heaplocktag;
VirtualTransactionId *old_lockholders;
Form_pg_index indexForm;
......@@ -1366,7 +1365,6 @@ index_drop(Oid indexId, bool concurrent)
heap_close(userHeapRelation, NoLock);
indexrelid = userIndexRelation->rd_lockInfo.lockRelId;
SET_LOCKTAG_RELATION(indexlocktag, indexrelid.dbId, indexrelid.relId);
index_close(userIndexRelation, NoLock);
/*
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册