mirror of https://github.com/citusdata/citus.git
Make usage of static a bit more consistent in multi_planner.c.
parent
849f70a409
commit
9a82e8f06b
|
@ -405,7 +405,7 @@ multi_relation_restriction_hook(PlannerInfo *root, RelOptInfo *relOptInfo, Index
|
||||||
* CreateAndPushRestrictionContext creates a new restriction context, inserts it to the
|
* CreateAndPushRestrictionContext creates a new restriction context, inserts it to the
|
||||||
* beginning of the context list, and returns the newly created context.
|
* beginning of the context list, and returns the newly created context.
|
||||||
*/
|
*/
|
||||||
RelationRestrictionContext *
|
static RelationRestrictionContext *
|
||||||
CreateAndPushRestrictionContext(void)
|
CreateAndPushRestrictionContext(void)
|
||||||
{
|
{
|
||||||
RelationRestrictionContext *restrictionContext =
|
RelationRestrictionContext *restrictionContext =
|
||||||
|
@ -425,7 +425,7 @@ CreateAndPushRestrictionContext(void)
|
||||||
* CurrentRestrictionContext returns the the last restriction context from the
|
* CurrentRestrictionContext returns the the last restriction context from the
|
||||||
* list.
|
* list.
|
||||||
*/
|
*/
|
||||||
RelationRestrictionContext *
|
static RelationRestrictionContext *
|
||||||
CurrentRestrictionContext(void)
|
CurrentRestrictionContext(void)
|
||||||
{
|
{
|
||||||
RelationRestrictionContext *restrictionContext = NULL;
|
RelationRestrictionContext *restrictionContext = NULL;
|
||||||
|
@ -443,7 +443,7 @@ CurrentRestrictionContext(void)
|
||||||
* PopRestrictionContext removes the most recently added restriction context from
|
* PopRestrictionContext removes the most recently added restriction context from
|
||||||
* context list. The function assumes the list is not empty.
|
* context list. The function assumes the list is not empty.
|
||||||
*/
|
*/
|
||||||
void
|
static void
|
||||||
PopRestrictionContext(void)
|
PopRestrictionContext(void)
|
||||||
{
|
{
|
||||||
relationRestrictionContextList = list_delete_first(relationRestrictionContextList);
|
relationRestrictionContextList = list_delete_first(relationRestrictionContextList);
|
||||||
|
|
Loading…
Reference in New Issue