Skip to content
This repository was archived by the owner on Sep 27, 2019. It is now read-only.

Commit 4143a86

Browse files
committed
remove the accidental formatting changes done to other files
1 parent fc998b9 commit 4143a86

File tree

4 files changed

+139
-140
lines changed

4 files changed

+139
-140
lines changed

src/include/parser/parsenodes.h

Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -44,14 +44,14 @@ typedef struct Expr { NodeTag type; } Expr;
4444
* A SubLink represents a subselect appearing in an expression, and in some
4545
* cases also the combining operator(s) just above it. The subLinkType
4646
* indicates the form of the expression represented:
47-
* EXISTS_SUBLINK EXISTS(SELECT ...)
48-
* ALL_SUBLINK (lefthand) op ALL (SELECT ...)
49-
* ANY_SUBLINK (lefthand) op ANY (SELECT ...)
50-
* ROWCOMPARE_SUBLINK (lefthand) op (SELECT ...)
51-
* EXPR_SUBLINK (SELECT with single targetlist item ...)
52-
* MULTIEXPR_SUBLINK (SELECT with multiple targetlist items ...)
53-
* ARRAY_SUBLINK ARRAY(SELECT with single targetlist item ...)
54-
* CTE_SUBLINK WITH query (never actually part of an expression)
47+
* EXISTS_SUBLINK EXISTS(SELECT ...)
48+
* ALL_SUBLINK (lefthand) op ALL (SELECT ...)
49+
* ANY_SUBLINK (lefthand) op ANY (SELECT ...)
50+
* ROWCOMPARE_SUBLINK (lefthand) op (SELECT ...)
51+
* EXPR_SUBLINK (SELECT with single targetlist item ...)
52+
* MULTIEXPR_SUBLINK (SELECT with multiple targetlist items ...)
53+
* ARRAY_SUBLINK ARRAY(SELECT with single targetlist item ...)
54+
* CTE_SUBLINK WITH query (never actually part of an expression)
5555
* For ALL, ANY, and ROWCOMPARE, the lefthand is a list of expressions of the
5656
* same length as the subselect's targetlist. ROWCOMPARE will *always* have
5757
* a list with more than one entry; if the subselect has just one target
@@ -98,19 +98,19 @@ typedef enum SubLinkType
9898
EXPR_SUBLINK,
9999
MULTIEXPR_SUBLINK,
100100
ARRAY_SUBLINK,
101-
CTE_SUBLINK /* for SubPlans only */
101+
CTE_SUBLINK /* for SubPlans only */
102102
} SubLinkType;
103103

104104

105105
typedef struct SubLink
106106
{
107-
Expr xpr;
108-
SubLinkType subLinkType; /* see above */
109-
int subLinkId; /* ID (1..n); 0 if not MULTIEXPR */
110-
Node *testexpr; /* outer-query test for ALL/ANY/ROWCOMPARE */
111-
List *operName; /* originally specified operator name */
112-
Node *subselect; /* subselect as Query* or raw parsetree */
113-
int location; /* token location, or -1 if unknown */
107+
Expr xpr;
108+
SubLinkType subLinkType; /* see above */
109+
int subLinkId; /* ID (1..n); 0 if not MULTIEXPR */
110+
Node *testexpr; /* outer-query test for ALL/ANY/ROWCOMPARE */
111+
List *operName; /* originally specified operator name */
112+
Node *subselect; /* subselect as Query* or raw parsetree */
113+
int location; /* token location, or -1 if unknown */
114114
} SubLink;
115115

116116
typedef struct BoolExpr {

src/include/parser/pg_query.h

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,12 @@
1717
#include "pg_list.h"
1818

1919
typedef struct {
20-
char* message; // exception message
21-
char* funcname; // source function of exception (e.g. SearchSysCache)
22-
char* filename; // source of exception (e.g. parse.l)
23-
int lineno; // source of exception (e.g. 104)
24-
int cursorpos; // char in query at which exception occurred
25-
char* context; // additional context (optional, can be NULL)
20+
char* message; // exception message
21+
char* funcname; // source function of exception (e.g. SearchSysCache)
22+
char* filename; // source of exception (e.g. parse.l)
23+
int lineno; // source of exception (e.g. 104)
24+
int cursorpos; // char in query at which exception occurred
25+
char* context; // additional context (optional, can be NULL)
2626
} PgQueryError;
2727

2828
typedef struct {

src/include/traffic_cop/traffic_cop.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,13 +20,13 @@
2020
#include "event.h"
2121

2222
#include "catalog/column.h"
23-
#include "common/internal_types.h"
2423
#include "common/portal.h"
2524
#include "common/statement.h"
2625
#include "executor/plan_executor.h"
2726
#include "optimizer/abstract_optimizer.h"
2827
#include "parser/sql_statement.h"
2928
#include "type/type.h"
29+
#include "common/internal_types.h"
3030

3131
namespace peloton {
3232

0 commit comments

Comments
 (0)