mirror of
https://github.com/MariaDB/server.git
synced 2025-12-01 17:39:21 +03:00
Window definitions are resolved during fix fields. Updating used tables for window functions must be done after all window functions have had a chance to be resolved. There was an additional problem with the implementation: expressions that contained window functions never updated the expression's used tables. To fix both these issues, make sure to call "update_used_tables" on all items that contain window functions after we have passed through all items.
82 KiB
82 KiB