Skip to content

ReflectedXss: Prevent bad join order#12333

Merged
erik-krogh merged 1 commit into
github:mainfrom
kaspersv:kaspersv/fix-join-order
Mar 1, 2023
Merged

ReflectedXss: Prevent bad join order#12333
erik-krogh merged 1 commit into
github:mainfrom
kaspersv:kaspersv/fix-join-order

Conversation

@kaspersv
Copy link
Copy Markdown
Contributor

@kaspersv kaspersv commented Feb 28, 2023

The Core team is planning to make some changes to the join orderer that causes a join order regression for the isLocalHeaderDefinition predicate. This PR adds pragmas to prevent the compiler from picking the bad join order.

@github-actions github-actions Bot added the JS label Feb 28, 2023
@kaspersv kaspersv changed the title ReflectedXss: Fix join order regression ReflectedXss: Prevent bad join order Feb 28, 2023
@kaspersv kaspersv force-pushed the kaspersv/fix-join-order branch from 5d38650 to d1bd850 Compare February 28, 2023 11:03
@kaspersv kaspersv force-pushed the kaspersv/fix-join-order branch from d1bd850 to 8692564 Compare February 28, 2023 11:06
@kaspersv kaspersv marked this pull request as ready for review March 1, 2023 11:36
@kaspersv kaspersv requested a review from a team as a code owner March 1, 2023 11:36
@kaspersv kaspersv requested review from aibaars and removed request for a team March 1, 2023 11:36
@kaspersv kaspersv added the no-change-note-required This PR does not need a change note label Mar 1, 2023
Copy link
Copy Markdown
Contributor

@erik-krogh erik-krogh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks very reasonable.

And I assume you've benchmarked that it doesn't cause a regression with the current join-orderer.

@erik-krogh erik-krogh removed the request for review from aibaars March 1, 2023 11:39
@kaspersv
Copy link
Copy Markdown
Contributor Author

kaspersv commented Mar 1, 2023

Yes, see the referenced DCA experiment.

@erik-krogh erik-krogh merged commit 64dad3d into github:main Mar 1, 2023
@kaspersv kaspersv deleted the kaspersv/fix-join-order branch March 23, 2023 07:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

JS no-change-note-required This PR does not need a change note

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants