提交 7cf749b4 编写于 作者: D Daniel Gustafsson

Remove unused arguments to query

Commit 226e8867 removed oidcasted_pk
and max_content from the SQL query, but didn't remove the arguments.
While they don't cause an issue as they will be unused, remove to
avoid confusing readers.

Reviewed-by: Heikki Linnakangas
上级 ac753aed
......@@ -2589,11 +2589,9 @@ def missingEntryQuery(max_content, catname, pkey, castedPkey):
WHERE master.segid is null
OR segids is null
OR NOT segids @> (select array_agg(content::int4) from gp_segment_configuration WHERE content >= 0)
""".format(oidcasted_pk=','.join(castedPkey),
primary_key=','.join(pkey),
""".format(primary_key=','.join(pkey),
catalog=catname,
catalog_exclude=catalog_exclude,
max_content=max_content)
catalog_exclude=catalog_exclude)
return qry
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册