Skip to content

Commit

Permalink
brin_index_conds/quals are moved to custom_private from custom_exprs
Browse files Browse the repository at this point in the history
we don't need to fixup these fields in the setrefs.c, relevant to heterodb#707
  • Loading branch information
kaigai committed Jan 4, 2024
1 parent 072ace5 commit 30c6729
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 332 deletions.
8 changes: 4 additions & 4 deletions src/misc.c
Original file line number Diff line number Diff line change
Expand Up @@ -109,8 +109,8 @@ form_pgstrom_plan_info(CustomScan *cscan, pgstromPlanInfo *pp_info)
privs = lappend(privs, __makeFloat(pp_info->final_cost));
/* bin-index support */
privs = lappend(privs, makeInteger(pp_info->brin_index_oid));
exprs = lappend(exprs, pp_info->brin_index_conds);
exprs = lappend(exprs, pp_info->brin_index_quals);
privs = lappend(privs, pp_info->brin_index_conds);
privs = lappend(privs, pp_info->brin_index_quals);
/* XPU code */
privs = lappend(privs, __makeByteaConst(pp_info->kexp_load_vars_packed));
privs = lappend(privs, __makeByteaConst(pp_info->kexp_move_vars_packed));
Expand Down Expand Up @@ -214,8 +214,8 @@ deform_pgstrom_plan_info(CustomScan *cscan)
pp_data.final_cost = floatVal(list_nth(privs, pindex++));
/* brin-index support */
pp_data.brin_index_oid = intVal(list_nth(privs, pindex++));
pp_data.brin_index_conds = list_nth(exprs, eindex++);
pp_data.brin_index_quals = list_nth(exprs, eindex++);
pp_data.brin_index_conds = list_nth(privs, pindex++);
pp_data.brin_index_quals = list_nth(privs, pindex++);
/* XPU code */
pp_data.kexp_load_vars_packed = __getByteaConst(list_nth(privs, pindex++));
pp_data.kexp_move_vars_packed = __getByteaConst(list_nth(privs, pindex++));
Expand Down
328 changes: 0 additions & 328 deletions src/multirels.c

This file was deleted.

0 comments on commit 30c6729

Please sign in to comment.