mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
MDEV-17493: Partition pruning doesn't work for nested outer joins
Reuse the fix for MDEV-17518 here, too.
This commit is contained in:
@ -263,8 +263,12 @@ typedef struct st_join_table {
|
||||
/*
|
||||
Pointer to the associated ON expression. on_expr_ref=!NULL except for
|
||||
degenerate joins.
|
||||
*on_expr_ref!=NULL for tables that are first inner tables within an outer
|
||||
join.
|
||||
|
||||
Optimization phase: *on_expr_ref!=NULL for tables that are the single
|
||||
tables on the inner side of the outer join (t1 LEFT JOIN t2 ON...)
|
||||
|
||||
Execution phase: *on_expr_ref!=NULL for tables that are first inner tables
|
||||
within an outer join (which may have multiple tables)
|
||||
*/
|
||||
Item **on_expr_ref;
|
||||
COND_EQUAL *cond_equal; /**< multiple equalities for the on expression */
|
||||
|
Reference in New Issue
Block a user