Revert "[WIP] Replace incoming select statement with from statement in Binder.cs"

This reverts commit 5459722b24.
develop
Matija Koželj 2 years ago
parent 5459722b24
commit bc59f15d59

@ -682,7 +682,7 @@ public sealed class Binder : DatabaseVisitor
{ {
var alias = Alias.New(); var alias = Alias.New();
var pc = ProjectColumns(projection.Projector, alias, projection.Select.Alias); var pc = ProjectColumns(projection.Projector, alias, projection.Select.Alias);
projection = new ProjectionExpression(new SelectExpression(alias, pc.Columns, projection.Select.From, where, null, null, false, null, take, isLast), pc.Projector); projection = new ProjectionExpression(new SelectExpression(alias, pc.Columns, projection.Select, where, null, null, false, null, take, isLast), pc.Projector);
} }
if (isRoot) if (isRoot)

Loading…
Cancel
Save