Skip to content

Conversation

@DaveGosselin-MariaDB
Copy link
Member

Prevent elimination of tables participating in a FULL OUTER JOIN during eliminate_tables as part of phase one FULL OUTER JOIN development.

@DaveGosselin-MariaDB DaveGosselin-MariaDB self-assigned this Nov 21, 2025
@DaveGosselin-MariaDB DaveGosselin-MariaDB force-pushed the 12.3-MDEV-38136-table-elimination branch from e3a8583 to 3e1d8e8 Compare November 21, 2025 21:12
@DaveGosselin-MariaDB DaveGosselin-MariaDB force-pushed the 12.3-MDEV-37933-outer-to-left-right-or-inner branch from e3f59c1 to b3825c2 Compare November 26, 2025 16:42
@DaveGosselin-MariaDB DaveGosselin-MariaDB force-pushed the 12.3-MDEV-38136-table-elimination branch from 3e1d8e8 to 0ebc4eb Compare November 26, 2025 16:56
@DaveGosselin-MariaDB DaveGosselin-MariaDB force-pushed the 12.3-MDEV-37933-outer-to-left-right-or-inner branch from b3825c2 to 8f20123 Compare December 17, 2025 18:14
Prevent elimination of tables participating in a FULL OUTER JOIN during
eliminate_tables as part of phase one FULL OUTER JOIN development.

Move the functionality gate for FULL JOIN further into the codebase: convert
LEX::has_full_outer_join to a counter so we can see how many FULL JOINs
remain which makes the gate work correctly after simplify_joins and
eliminate_tables are called.

Fixes an old bug where, when running the server as a debug build and in
debug mode, a null pointer deference in
Dep_analysis_context::dbug_print_deps would cause a crash.
@DaveGosselin-MariaDB DaveGosselin-MariaDB force-pushed the 12.3-MDEV-38136-table-elimination branch from 0ebc4eb to 9ecbd13 Compare December 17, 2025 18:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Development

Successfully merging this pull request may close these issues.

2 participants