Skip to content

Commit

Permalink
Cleanup: Extra line 🔥 (#19519)
Browse files Browse the repository at this point in the history
Cleanup: Extra line 🔥
  • Loading branch information
ralmsdeveloper authored and maumar committed Jan 8, 2020
1 parent 828d0de commit b0da2e1
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 18 deletions.
2 changes: 1 addition & 1 deletion src/EFCore.Relational/Query/QuerySqlGenerator.cs
Original file line number Diff line number Diff line change
Expand Up @@ -637,7 +637,7 @@ protected override Expression VisitIn(InExpression inExpression)
Visit(inExpression.Subquery);
}

_relationalCommandBuilder.AppendLine().AppendLine(")");
_relationalCommandBuilder.AppendLine().Append(")");
}

return inExpression;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -965,8 +965,7 @@ SELECT CASE
WHEN @__p_0 IN (
SELECT [c].[CustomerID]
FROM [Customers] AS [c]
)
THEN CAST(1 AS bit)
) THEN CAST(1 AS bit)
ELSE CAST(0 AS bit)
END");
}
Expand Down Expand Up @@ -1084,8 +1083,7 @@ WHEN @__entity_equality_p_0_OrderID IN (
SELECT [o].[OrderID]
FROM [Orders] AS [o]
WHERE [o].[CustomerID] = N'VINET'
)
THEN CAST(1 AS bit)
) THEN CAST(1 AS bit)
ELSE CAST(0 AS bit)
END");
}
Expand Down Expand Up @@ -1178,8 +1176,7 @@ WHEN @__entity_equality_p_0_OrderID IN (
SELECT [o].[OrderID]
FROM [Orders] AS [o]
WHERE [o].[CustomerID] = N'VINET'
)
THEN CAST(1 AS bit)
) THEN CAST(1 AS bit)
ELSE CAST(0 AS bit)
END");
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1573,8 +1573,7 @@ WHERE [o].[ProductID] IN (
SELECT TOP(1) [p].[ProductID]
FROM [Products] AS [p]
ORDER BY [p].[ProductID]
)
OR [o].[OrderID] IN (
) OR [o].[OrderID] IN (
SELECT TOP(1) [o0].[OrderID]
FROM [Orders] AS [o0]
ORDER BY [o0].[OrderID]
Expand All @@ -1592,8 +1591,7 @@ WHERE [o].[ProductID] IN (
SELECT TOP(20) [p].[ProductID]
FROM [Products] AS [p]
ORDER BY [p].[ProductID]
)
AND [o].[OrderID] IN (
) AND [o].[OrderID] IN (
SELECT TOP(10) [o0].[OrderID]
FROM [Orders] AS [o0]
ORDER BY [o0].[OrderID]
Expand All @@ -1614,8 +1612,7 @@ WHERE [o].[OrderID] IN (
SELECT [o0].[OrderID]
FROM [Orders] AS [o0]
WHERE [c].[CustomerID] = [o0].[CustomerID]
)
)");
))");
}

public override async Task Where_subquery_FirstOrDefault_is_null(bool async)
Expand Down Expand Up @@ -1803,7 +1800,6 @@ SELECT [o0].[CustomerID]
FROM [Orders] AS [o0]
WHERE [o0].[CustomerID] = [c].[CustomerID]
)
ORDER BY [c].[CustomerID], [o].[OrderID]");
}

Expand Down Expand Up @@ -1835,7 +1831,6 @@ SELECT [o0].[CustomerID]
FROM [Orders] AS [o0]
WHERE [o0].[CustomerID] = [c].[CustomerID]
)
ORDER BY [c].[CustomerID], [o].[OrderID]");
}

Expand Down Expand Up @@ -1867,7 +1862,6 @@ SELECT [o0].[CustomerID]
FROM [Orders] AS [o0]
WHERE [o0].[CustomerID] = [c].[CustomerID]
)
ORDER BY [c].[CustomerID], [o].[OrderID]");
}

Expand Down Expand Up @@ -1923,7 +1917,6 @@ SELECT [o0].[OrderID]
FROM [Orders] AS [o0]
WHERE [c].[CustomerID] = [o0].[CustomerID]
)
ORDER BY [c].[CustomerID], [o].[OrderID]");
}

Expand Down Expand Up @@ -1979,7 +1972,6 @@ SELECT [o0].[OrderID]
FROM [Orders] AS [o0]
WHERE [c].[CustomerID] = [o0].[CustomerID]
)
ORDER BY [c].[CustomerID], [o].[OrderID]");
}

Expand Down

0 comments on commit b0da2e1

Please sign in to comment.