1
0
Fork 0

Merging upstream version 26.28.1.

Signed-off-by: Daniel Baumann <daniel@debian.org>
This commit is contained in:
Daniel Baumann 2025-06-15 10:36:04 +02:00
parent 893214206a
commit c79efa667c
Signed by: daniel
GPG key ID: FBB4F0E80A80222F
96 changed files with 58442 additions and 56422 deletions

View file

@ -758,6 +758,8 @@ def _traverse_tables(scope):
expressions.extend(join.this for join in expression.args.get("joins") or [])
continue
child_scope = None
for child_scope in _traverse_scope(
scope.branch(
expression,
@ -775,8 +777,9 @@ def _traverse_tables(scope):
sources[expression.alias] = child_scope
# append the final child_scope yielded
scopes.append(child_scope)
scope.table_scopes.append(child_scope)
if child_scope:
scopes.append(child_scope)
scope.table_scopes.append(child_scope)
scope.sources.update(sources)