From bc59f15d598e60ff1b4f824dfca61d0fe11c4c07 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Matija=20Ko=C5=BEelj?= Date: Thu, 26 Jan 2023 13:08:48 +0100 Subject: [PATCH] Revert "[WIP] Replace incoming select statement with from statement in Binder.cs" This reverts commit 5459722b245fbd8e90b3df50601c3f03ff5ad6af. --- src/Connected.Expressions/Translation/Binder.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Connected.Expressions/Translation/Binder.cs b/src/Connected.Expressions/Translation/Binder.cs index 7f983a6..099982f 100644 --- a/src/Connected.Expressions/Translation/Binder.cs +++ b/src/Connected.Expressions/Translation/Binder.cs @@ -682,7 +682,7 @@ public sealed class Binder : DatabaseVisitor { var alias = Alias.New(); 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)