提交 bda9c4a7 编写于 作者: D Daniel Gustafsson 提交者: Heikki Linnakangas

Fix some style since I was reading that code anyways

上级 25de0b87
......@@ -279,7 +279,8 @@ typedef struct CorrelatedVarWalkerContext
* Walker finds the deepest correlation nesting i.e. maximum levelsup among all
* vars in subquery.
*/
static bool CorrelatedVarWalker(Node *node, CorrelatedVarWalkerContext *ctx)
static bool
CorrelatedVarWalker(Node *node, CorrelatedVarWalkerContext *ctx)
{
Assert(ctx);
......@@ -307,7 +308,8 @@ static bool CorrelatedVarWalker(Node *node, CorrelatedVarWalkerContext *ctx)
/**
* Returns true if subquery is correlated
*/
bool IsSubqueryCorrelated(Query *sq)
bool
IsSubqueryCorrelated(Query *sq)
{
Assert(sq);
CorrelatedVarWalkerContext ctx;
......@@ -319,7 +321,8 @@ bool IsSubqueryCorrelated(Query *sq)
/**
* Returns true if subquery contains references to more than its immediate outer query.
*/
bool IsSubqueryMultiLevelCorrelated(Query *sq)
bool
IsSubqueryMultiLevelCorrelated(Query *sq)
{
Assert(sq);
CorrelatedVarWalkerContext ctx;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册