Skip to content

Fix in condition pushdown code: don't pass List<Field_pair> by value.#4916

Open
spetrunia wants to merge 1 commit into10.11from
bb-10.11-fix-list
Open

Fix in condition pushdown code: don't pass List<Field_pair> by value.#4916
spetrunia wants to merge 1 commit into10.11from
bb-10.11-fix-list

Conversation

@spetrunia
Copy link
Copy Markdown
Member

Affected functions:
find_matching_field_pair(Item *item, List<Field_pair> pair_list)
get_corresponding_field_pair(Item *item, List<Field_pair> pair_list)

Both only traverse the pair_list.
They use List_iterator so we can't easily switch to using const-reference.

Affected functions:
  find_matching_field_pair(Item *item, List<Field_pair> pair_list)
  get_corresponding_field_pair(Item *item, List<Field_pair> pair_list)

Both only traverse the pair_list.
They use List_iterator so we can't easily switch to using const-reference.
@spetrunia spetrunia requested a review from Olernov April 8, 2026 11:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant