Skip to content

Conversation

@angelamayxie
Copy link
Contributor

fixes dolthub/dolt#9789

continue in JoinNode case was resulting in nil child in newChildren array. This would later cause a panic when child would be referenced.

@angelamayxie angelamayxie requested a review from jycor September 4, 2025 21:28
@angelamayxie angelamayxie marked this pull request as ready for review September 4, 2025 21:48
Copy link
Contributor

@jycor jycor left a comment

Choose a reason for hiding this comment

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

LGTM, small opt suggestion

@angelamayxie angelamayxie changed the title Copy children to newChildren to avoid nil child during replaceIdxSort Initialize newChildren with node.Children to avoid nil child during replaceIdxSort Sep 5, 2025
@angelamayxie angelamayxie merged commit f65884e into main Sep 5, 2025
8 checks passed
@angelamayxie angelamayxie deleted the angela/orderby_crash branch September 5, 2025 00:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Dolt crashes when executing cartesian join with ORDER BY on table with PRIMARY KEY

3 participants