mirror of
https://github.com/postgres/postgres.git
synced 2025-06-30 21:42:05 +03:00
Fix an assortment of spelling mistakes and typos
Author: Alexander Lakhin <exclusion@gmail.com> Discussion: https://postgr.es/m/5812a0b9-b0cf-4151-9a14-d9f00e4f2858@gmail.com
This commit is contained in:
@ -1384,8 +1384,8 @@ ExplainPreScanNode(PlanState *planstate, Bitmapset **rels_used)
|
||||
/*
|
||||
* plan_is_disabled
|
||||
* Checks if the given plan node type was disabled during query planning.
|
||||
* This is evident by the disable_node field being higher than the sum of
|
||||
* the disabled_node field from the plan's children.
|
||||
* This is evident by the disabled_nodes field being higher than the sum of
|
||||
* the disabled_nodes field from the plan's children.
|
||||
*/
|
||||
static bool
|
||||
plan_is_disabled(Plan *plan)
|
||||
@ -1462,8 +1462,8 @@ plan_is_disabled(Plan *plan)
|
||||
}
|
||||
|
||||
/*
|
||||
* It's disabled if the plan's disable_nodes is higher than the sum of its
|
||||
* child's plan disabled_nodes.
|
||||
* It's disabled if the plan's disabled_nodes is higher than the sum of
|
||||
* its child's plan disabled_nodes.
|
||||
*/
|
||||
if (plan->disabled_nodes > child_disabled_nodes)
|
||||
return true;
|
||||
|
Reference in New Issue
Block a user