Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit1337568

Browse files
committed
add comment and safety assert
1 parent89d2d8f commit1337568

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

‎src/planner_tree_modification.c‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -134,6 +134,8 @@ plan_tree_walker(Plan *plan,
134134
/* Since they look alike */
135135
caseT_MergeAppend:
136136
caseT_Append:
137+
Assert(offsetof(Append,appendplans)==
138+
offsetof(MergeAppend,mergeplans));
137139
foreach(l, ((Append*)plan)->appendplans)
138140
plan_tree_walker((Plan*)lfirst(l),visitor,context);
139141
break;
@@ -195,6 +197,7 @@ pathman_transform_query_walker(Node *node, void *context)
195197
next_context=*current_context;
196198
next_context.parent_sublink= (SubLink*)node;
197199

200+
/* Handle expression subtree */
198201
returnexpression_tree_walker(node,
199202
pathman_transform_query_walker,
200203
(void*)&next_context);

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp