提交 7bcc017a 编写于 作者: P pengxindong 提交者: Heikki Linnakangas

delete redundancy code and adjust code format

上级 b11e1e1b
......@@ -1604,15 +1604,9 @@ create_result_path(List *quals)
pathnode->path.startup_cost = 0;
pathnode->path.total_cost = cpu_tuple_cost;
pathnode->quals = quals;
/* Ideally should define cost_result(), but I'm too lazy */
pathnode->path.startup_cost = 0;
pathnode->path.total_cost = cpu_tuple_cost;
CdbPathLocus_MakeGeneral(&pathnode->path.locus);
pathnode->path.motionHazard = false;
pathnode->path.rescannable = true;
CdbPathLocus_MakeGeneral(&pathnode->path.locus);
pathnode->path.motionHazard = false;
pathnode->path.rescannable = true;
/*
* In theory we should include the qual eval cost as well, but at present
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册