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

Commitace45b9

Browse files
committed
Merge branch 'master' into picky_nodes
2 parents4efb205 +1f6ccf7 commitace45b9

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

‎src/runtime_merge_append.c

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -133,12 +133,12 @@ unpack_runtimemergeappend_private(RuntimeMergeAppendState *scan_state,
133133
#defineFillStateField(name,type,method) \
134134
do \
135135
{ \
136-
ListCell *lc; \
137-
inti = 0; \
136+
ListCell*lc; \
137+
inti = 0; \
138138
Assert(scan_state->numCols == list_length(name)); \
139-
scan_state->name =palloc(scan_state->numCols * sizeof(type)); \
139+
scan_state->name =palloc0(scan_state->numCols * sizeof(type)); \
140140
foreach (lc, name) \
141-
scan_state->name[i] =lfirst_int(lc); \
141+
scan_state->name[i++] =method(lc); \
142142
} \
143143
while (0)
144144

@@ -225,8 +225,8 @@ create_runtimemergeappend_path(PlannerInfo *root,
225225

226226
Plan*
227227
create_runtimemergeappend_plan(PlannerInfo*root,RelOptInfo*rel,
228-
CustomPath*best_path,List*tlist,
229-
List*clauses,List*custom_plans)
228+
CustomPath*best_path,List*tlist,
229+
List*clauses,List*custom_plans)
230230
{
231231
CustomScan*node;
232232
Plan*plan;

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp