relmodel: Improve scope model.
The previous commit surprisingly yielded a CPU hogging sqlsmith with monetdb due to the table_or_query_name production hardly finding candidates. It turned out that the scope model was seriously lacking: Creating a child scope now automatically includes the table and column references available to the parent scope. Previously, child scopes only contained table and column references explicitly put there by the parent production.
parent
b7b7ac07
Please register or sign in to comment