mirror of
https://github.com/MariaDB/server.git
synced 2025-11-13 21:42:58 +03:00
The problem was that store_top_level_join_columns() incorrectly assumed that the left/right neighbor of a nested join table reference can be only at the same level in the join tree. The fix checks if the current nested join table reference has no immediate left/right neighbor, and if so chooses the left/right neighbors of the nearest upper level, where these references are != NULL.
164 KiB
164 KiB