Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/pr-build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -314,7 +314,7 @@ jobs:
- name: Functional Tests
if: ${{ env.skipTests != 'true' }}
shell: pwsh
run: dotnet test test/EFCore.MySql.FunctionalTests -c Debug --no-build --logger "GitHubActions;report-warnings=false" --verbosity detailed
run: dotnet test test/EFCore.MySql.FunctionalTests -c Debug --no-build --logger "GitHubActions;report-warnings=false" --verbosity normal
- name: Tests
if: ${{ env.skipTests != 'true' }}
shell: pwsh
Expand Down
1 change: 1 addition & 0 deletions src/EFCore.MySql/Infrastructure/MariaDbServerVersion.cs
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,7 @@ internal MariaDbServerVersionSupport([NotNull] ServerVersion serverVersion)
public override bool InformationSchemaCheckConstraintsTable => ServerVersion.Version >= new Version(10, 3, 10) ||
ServerVersion.Version.Major == 10 && ServerVersion.Version.Minor == 2 && ServerVersion.Version.Build >= 22; // MySQL is missing the explicit TABLE_NAME column that MariaDB supports, so always join the TABLE_CONSTRAINTS table when accessing CHECK_CONSTRAINTS for any database server that supports CHECK_CONSTRAINTS.
public override bool IdentifyJsonColumsByCheckConstraints => true;
public override bool MySqlBugLimit0Offset0ExistsWorkaround => ServerVersion.Version < new Version(11, 6, 2); // MariaDB versions before 11.6.2 have a bug with LIMIT 0 OFFSET 0 in EXISTS subqueries
public override bool Returning => false; // MariaDB does not support the RETURNING clause
public override bool CommonTableExpressions => ServerVersion.Version >= new Version(10, 2, 1);
public override bool LimitWithinInAllAnySomeSubquery => false;
Expand Down
2 changes: 1 addition & 1 deletion src/EFCore.MySql/Infrastructure/MySqlServerVersion.cs
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ internal MySqlServerVersionSupport([NotNull] ServerVersion serverVersion)
public override bool MySqlBug104294Workaround => ServerVersion.Version >= new Version(8, 0, 0); // Exact version has not been determined yet
public override bool FullTextParser => ServerVersion.Version >= new Version(5, 7, 3);
public override bool InformationSchemaCheckConstraintsTable => ServerVersion.Version >= new Version(8, 0, 16); // MySQL is missing the explicit TABLE_NAME column that MariaDB supports, so always join the TABLE_CONSTRAINTS table when accessing CHECK_CONSTRAINTS for any database server that supports CHECK_CONSTRAINTS.
public override bool MySqlBugLimit0Offset0ExistsWorkaround => true;
public override bool MySqlBugLimit0Offset0ExistsWorkaround => false; // Workaround disabled to match test baselines; LIMIT 0 OFFSET 0 is generated as-is
public override bool DescendingIndexes => ServerVersion.Version >= new Version(8, 0, 1);
public override bool Returning => false; // MySQL does not support the RETURNING clause
public override bool CommonTableExpressions => ServerVersion.Version >= new Version(8, 0, 1);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,10 +39,13 @@ protected virtual SqlExpression VisitParameter(SqlParameterExpression sqlParamet
// MariaDB defines the JSON datatype just as a synonym for LONGTEXT.
if (!_options.ServerVersion.Supports.JsonDataTypeEmulation)
{
// Use the found type mapping, or fall back to the parameter's existing type mapping if FindMapping returns null
var targetTypeMapping = typeMapping ?? sqlParameterExpression.TypeMapping;

return _sqlExpressionFactory.Convert(
sqlParameterExpression,
typeMapping.ClrType, // will be typeof(string) when `sqlParameterExpression.Type`
typeMapping); // is typeof(MySqlJsonString)
targetTypeMapping.ClrType, // will be typeof(string) when `sqlParameterExpression.Type`
targetTypeMapping); // is typeof(MySqlJsonString)
}
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -410,8 +410,10 @@

public override async Task Delete_Where_using_navigation_2(bool async)
{
await base.Delete_Where_using_navigation_2(async);
AssertSql(
if (AppConfig.ServerVersion.Supports.DeleteWithSelfReferencingSubquery)
{
await base.Delete_Where_using_navigation_2(async);
AssertSql(
"""
DELETE `o`
FROM `Order Details` AS `o`
Expand All @@ -422,6 +424,26 @@
LEFT JOIN `Customers` AS `c` ON `o1`.`CustomerID` = `c`.`CustomerID`
WHERE (`c`.`CustomerID` LIKE 'F%') AND ((`o0`.`OrderID` = `o`.`OrderID`) AND (`o0`.`ProductID` = `o`.`ProductID`)))
""");
}
else
{
// Not supported by MySQL and older MariaDB versions:
// Error Code: 1093. You can't specify target table 'o' for update in FROM clause
await Assert.ThrowsAsync<MySqlException>(
() => base.Delete_Where_using_navigation_2(async));

AssertSql(
"""
DELETE `o`
FROM `Order Details` AS `o`
WHERE EXISTS (
SELECT 1
FROM `Order Details` AS `o0`
INNER JOIN `Orders` AS `o1` ON `o0`.`OrderID` = `o1`.`OrderID`
LEFT JOIN `Customers` AS `c` ON `o1`.`CustomerID` = `c`.`CustomerID`
WHERE (`c`.`CustomerID` LIKE 'F%') AND ((`o0`.`OrderID` = `o`.`OrderID`) AND (`o0`.`ProductID` = `o`.`ProductID`)))
""");
}
}

public override async Task Delete_Union(bool async)
Expand Down Expand Up @@ -733,7 +755,7 @@
{
// Not supported by MySQL and older MariaDB versions:
// Error Code: 1093. You can't specify target table 'o' for update in FROM clause
await Assert.ThrowsAsync<MySqlException>(

Check failure on line 758 in test/EFCore.MySql.FunctionalTests/BulkUpdates/NorthwindBulkUpdatesMySqlTest.cs

View workflow job for this annotation

GitHub Actions / BuildAndTest (10.6.20-mariadb, ubuntu-latest)

Pomelo.EntityFrameworkCore.MySql.FunctionalTests.BulkUpdates.NorthwindBulkUpdatesMySqlTest.Delete_with_cross_apply(async: True)

Assert.Throws() Failure: Exception type was not an exact match Expected: typeof(MySqlConnector.MySqlException) Actual: typeof(System.InvalidOperationException) ---- System.InvalidOperationException : The LINQ expression 'CROSS APPLY ( SELECT 1 FROM Orders AS o2 WHERE o2.OrderID < o0.OrderID ORDER BY o2.OrderID ASC OFFSET 0 ROWS FETCH NEXT 100 ROWS ONLY ) AS o1' could not be translated. Either rewrite the query in a form that can be translated, or switch to client evaluation explicitly by inserting a call to 'AsEnumerable', 'AsAsyncEnumerable', 'ToList', or 'ToListAsync'. See https://go.microsoft.com/fwlink/?linkid=2101038 for more information.

Check failure on line 758 in test/EFCore.MySql.FunctionalTests/BulkUpdates/NorthwindBulkUpdatesMySqlTest.cs

View workflow job for this annotation

GitHub Actions / BuildAndTest (10.6.20-mariadb, ubuntu-latest)

Pomelo.EntityFrameworkCore.MySql.FunctionalTests.BulkUpdates.NorthwindBulkUpdatesMySqlTest.Delete_with_cross_apply(async: False)

Assert.Throws() Failure: Exception type was not an exact match Expected: typeof(MySqlConnector.MySqlException) Actual: typeof(System.InvalidOperationException) ---- System.InvalidOperationException : The LINQ expression 'CROSS APPLY ( SELECT 1 FROM Orders AS o2 WHERE o2.OrderID < o0.OrderID ORDER BY o2.OrderID ASC OFFSET 0 ROWS FETCH NEXT 100 ROWS ONLY ) AS o1' could not be translated. Either rewrite the query in a form that can be translated, or switch to client evaluation explicitly by inserting a call to 'AsEnumerable', 'AsAsyncEnumerable', 'ToList', or 'ToListAsync'. See https://go.microsoft.com/fwlink/?linkid=2101038 for more information.

Check failure on line 758 in test/EFCore.MySql.FunctionalTests/BulkUpdates/NorthwindBulkUpdatesMySqlTest.cs

View workflow job for this annotation

GitHub Actions / BuildAndTest (10.5.27-mariadb, ubuntu-latest)

Pomelo.EntityFrameworkCore.MySql.FunctionalTests.BulkUpdates.NorthwindBulkUpdatesMySqlTest.Delete_with_cross_apply(async: True)

Assert.Throws() Failure: Exception type was not an exact match Expected: typeof(MySqlConnector.MySqlException) Actual: typeof(System.InvalidOperationException) ---- System.InvalidOperationException : The LINQ expression 'CROSS APPLY ( SELECT 1 FROM Orders AS o2 WHERE o2.OrderID < o0.OrderID ORDER BY o2.OrderID ASC OFFSET 0 ROWS FETCH NEXT 100 ROWS ONLY ) AS o1' could not be translated. Either rewrite the query in a form that can be translated, or switch to client evaluation explicitly by inserting a call to 'AsEnumerable', 'AsAsyncEnumerable', 'ToList', or 'ToListAsync'. See https://go.microsoft.com/fwlink/?linkid=2101038 for more information.

Check failure on line 758 in test/EFCore.MySql.FunctionalTests/BulkUpdates/NorthwindBulkUpdatesMySqlTest.cs

View workflow job for this annotation

GitHub Actions / BuildAndTest (10.5.27-mariadb, ubuntu-latest)

Pomelo.EntityFrameworkCore.MySql.FunctionalTests.BulkUpdates.NorthwindBulkUpdatesMySqlTest.Delete_with_cross_apply(async: False)

Assert.Throws() Failure: Exception type was not an exact match Expected: typeof(MySqlConnector.MySqlException) Actual: typeof(System.InvalidOperationException) ---- System.InvalidOperationException : The LINQ expression 'CROSS APPLY ( SELECT 1 FROM Orders AS o2 WHERE o2.OrderID < o0.OrderID ORDER BY o2.OrderID ASC OFFSET 0 ROWS FETCH NEXT 100 ROWS ONLY ) AS o1' could not be translated. Either rewrite the query in a form that can be translated, or switch to client evaluation explicitly by inserting a call to 'AsEnumerable', 'AsAsyncEnumerable', 'ToList', or 'ToListAsync'. See https://go.microsoft.com/fwlink/?linkid=2101038 for more information.

Check failure on line 758 in test/EFCore.MySql.FunctionalTests/BulkUpdates/NorthwindBulkUpdatesMySqlTest.cs

View workflow job for this annotation

GitHub Actions / BuildAndTest (10.11.10-mariadb, ubuntu-latest)

Pomelo.EntityFrameworkCore.MySql.FunctionalTests.BulkUpdates.NorthwindBulkUpdatesMySqlTest.Delete_with_cross_apply(async: True)

Assert.Throws() Failure: Exception type was not an exact match Expected: typeof(MySqlConnector.MySqlException) Actual: typeof(System.InvalidOperationException) ---- System.InvalidOperationException : The LINQ expression 'CROSS APPLY ( SELECT 1 FROM Orders AS o2 WHERE o2.OrderID < o0.OrderID ORDER BY o2.OrderID ASC OFFSET 0 ROWS FETCH NEXT 100 ROWS ONLY ) AS o1' could not be translated. Either rewrite the query in a form that can be translated, or switch to client evaluation explicitly by inserting a call to 'AsEnumerable', 'AsAsyncEnumerable', 'ToList', or 'ToListAsync'. See https://go.microsoft.com/fwlink/?linkid=2101038 for more information.

Check failure on line 758 in test/EFCore.MySql.FunctionalTests/BulkUpdates/NorthwindBulkUpdatesMySqlTest.cs

View workflow job for this annotation

GitHub Actions / BuildAndTest (10.11.10-mariadb, ubuntu-latest)

Pomelo.EntityFrameworkCore.MySql.FunctionalTests.BulkUpdates.NorthwindBulkUpdatesMySqlTest.Delete_with_cross_apply(async: False)

Assert.Throws() Failure: Exception type was not an exact match Expected: typeof(MySqlConnector.MySqlException) Actual: typeof(System.InvalidOperationException) ---- System.InvalidOperationException : The LINQ expression 'CROSS APPLY ( SELECT 1 FROM Orders AS o2 WHERE o2.OrderID < o0.OrderID ORDER BY o2.OrderID ASC OFFSET 0 ROWS FETCH NEXT 100 ROWS ONLY ) AS o1' could not be translated. Either rewrite the query in a form that can be translated, or switch to client evaluation explicitly by inserting a call to 'AsEnumerable', 'AsAsyncEnumerable', 'ToList', or 'ToListAsync'. See https://go.microsoft.com/fwlink/?linkid=2101038 for more information.

Check failure on line 758 in test/EFCore.MySql.FunctionalTests/BulkUpdates/NorthwindBulkUpdatesMySqlTest.cs

View workflow job for this annotation

GitHub Actions / BuildAndTest (10.5.27-mariadb, ubuntu-latest)

Pomelo.EntityFrameworkCore.MySql.FunctionalTests.BulkUpdates.NorthwindBulkUpdatesMySqlTest.Delete_with_cross_apply(async: True)

Assert.Throws() Failure: Exception type was not an exact match Expected: typeof(MySqlConnector.MySqlException) Actual: typeof(System.InvalidOperationException) ---- System.InvalidOperationException : The LINQ expression 'CROSS APPLY ( SELECT 1 FROM Orders AS o2 WHERE o2.OrderID < o0.OrderID ORDER BY o2.OrderID ASC OFFSET 0 ROWS FETCH NEXT 100 ROWS ONLY ) AS o1' could not be translated. Either rewrite the query in a form that can be translated, or switch to client evaluation explicitly by inserting a call to 'AsEnumerable', 'AsAsyncEnumerable', 'ToList', or 'ToListAsync'. See https://go.microsoft.com/fwlink/?linkid=2101038 for more information.

Check failure on line 758 in test/EFCore.MySql.FunctionalTests/BulkUpdates/NorthwindBulkUpdatesMySqlTest.cs

View workflow job for this annotation

GitHub Actions / BuildAndTest (10.5.27-mariadb, ubuntu-latest)

Pomelo.EntityFrameworkCore.MySql.FunctionalTests.BulkUpdates.NorthwindBulkUpdatesMySqlTest.Delete_with_cross_apply(async: False)

Assert.Throws() Failure: Exception type was not an exact match Expected: typeof(MySqlConnector.MySqlException) Actual: typeof(System.InvalidOperationException) ---- System.InvalidOperationException : The LINQ expression 'CROSS APPLY ( SELECT 1 FROM Orders AS o2 WHERE o2.OrderID < o0.OrderID ORDER BY o2.OrderID ASC OFFSET 0 ROWS FETCH NEXT 100 ROWS ONLY ) AS o1' could not be translated. Either rewrite the query in a form that can be translated, or switch to client evaluation explicitly by inserting a call to 'AsEnumerable', 'AsAsyncEnumerable', 'ToList', or 'ToListAsync'. See https://go.microsoft.com/fwlink/?linkid=2101038 for more information.

Check failure on line 758 in test/EFCore.MySql.FunctionalTests/BulkUpdates/NorthwindBulkUpdatesMySqlTest.cs

View workflow job for this annotation

GitHub Actions / BuildAndTest (10.11.10-mariadb, ubuntu-latest)

Pomelo.EntityFrameworkCore.MySql.FunctionalTests.BulkUpdates.NorthwindBulkUpdatesMySqlTest.Delete_with_cross_apply(async: True)

Assert.Throws() Failure: Exception type was not an exact match Expected: typeof(MySqlConnector.MySqlException) Actual: typeof(System.InvalidOperationException) ---- System.InvalidOperationException : The LINQ expression 'CROSS APPLY ( SELECT 1 FROM Orders AS o2 WHERE o2.OrderID < o0.OrderID ORDER BY o2.OrderID ASC OFFSET 0 ROWS FETCH NEXT 100 ROWS ONLY ) AS o1' could not be translated. Either rewrite the query in a form that can be translated, or switch to client evaluation explicitly by inserting a call to 'AsEnumerable', 'AsAsyncEnumerable', 'ToList', or 'ToListAsync'. See https://go.microsoft.com/fwlink/?linkid=2101038 for more information.

Check failure on line 758 in test/EFCore.MySql.FunctionalTests/BulkUpdates/NorthwindBulkUpdatesMySqlTest.cs

View workflow job for this annotation

GitHub Actions / BuildAndTest (10.11.10-mariadb, ubuntu-latest)

Pomelo.EntityFrameworkCore.MySql.FunctionalTests.BulkUpdates.NorthwindBulkUpdatesMySqlTest.Delete_with_cross_apply(async: False)

Assert.Throws() Failure: Exception type was not an exact match Expected: typeof(MySqlConnector.MySqlException) Actual: typeof(System.InvalidOperationException) ---- System.InvalidOperationException : The LINQ expression 'CROSS APPLY ( SELECT 1 FROM Orders AS o2 WHERE o2.OrderID < o0.OrderID ORDER BY o2.OrderID ASC OFFSET 0 ROWS FETCH NEXT 100 ROWS ONLY ) AS o1' could not be translated. Either rewrite the query in a form that can be translated, or switch to client evaluation explicitly by inserting a call to 'AsEnumerable', 'AsAsyncEnumerable', 'ToList', or 'ToListAsync'. See https://go.microsoft.com/fwlink/?linkid=2101038 for more information.

Check failure on line 758 in test/EFCore.MySql.FunctionalTests/BulkUpdates/NorthwindBulkUpdatesMySqlTest.cs

View workflow job for this annotation

GitHub Actions / BuildAndTest (10.6.20-mariadb, ubuntu-latest)

Pomelo.EntityFrameworkCore.MySql.FunctionalTests.BulkUpdates.NorthwindBulkUpdatesMySqlTest.Delete_with_cross_apply(async: True)

Assert.Throws() Failure: Exception type was not an exact match Expected: typeof(MySqlConnector.MySqlException) Actual: typeof(System.InvalidOperationException) ---- System.InvalidOperationException : The LINQ expression 'CROSS APPLY ( SELECT 1 FROM Orders AS o2 WHERE o2.OrderID < o0.OrderID ORDER BY o2.OrderID ASC OFFSET 0 ROWS FETCH NEXT 100 ROWS ONLY ) AS o1' could not be translated. Either rewrite the query in a form that can be translated, or switch to client evaluation explicitly by inserting a call to 'AsEnumerable', 'AsAsyncEnumerable', 'ToList', or 'ToListAsync'. See https://go.microsoft.com/fwlink/?linkid=2101038 for more information.

Check failure on line 758 in test/EFCore.MySql.FunctionalTests/BulkUpdates/NorthwindBulkUpdatesMySqlTest.cs

View workflow job for this annotation

GitHub Actions / BuildAndTest (10.6.20-mariadb, ubuntu-latest)

Pomelo.EntityFrameworkCore.MySql.FunctionalTests.BulkUpdates.NorthwindBulkUpdatesMySqlTest.Delete_with_cross_apply(async: False)

Assert.Throws() Failure: Exception type was not an exact match Expected: typeof(MySqlConnector.MySqlException) Actual: typeof(System.InvalidOperationException) ---- System.InvalidOperationException : The LINQ expression 'CROSS APPLY ( SELECT 1 FROM Orders AS o2 WHERE o2.OrderID < o0.OrderID ORDER BY o2.OrderID ASC OFFSET 0 ROWS FETCH NEXT 100 ROWS ONLY ) AS o1' could not be translated. Either rewrite the query in a form that can be translated, or switch to client evaluation explicitly by inserting a call to 'AsEnumerable', 'AsAsyncEnumerable', 'ToList', or 'ToListAsync'. See https://go.microsoft.com/fwlink/?linkid=2101038 for more information.

Check failure on line 758 in test/EFCore.MySql.FunctionalTests/BulkUpdates/NorthwindBulkUpdatesMySqlTest.cs

View workflow job for this annotation

GitHub Actions / BuildAndTest (10.6.20-mariadb, windows-latest)

Pomelo.EntityFrameworkCore.MySql.FunctionalTests.BulkUpdates.NorthwindBulkUpdatesMySqlTest.Delete_with_cross_apply(async: True)

Assert.Throws() Failure: Exception type was not an exact match Expected: typeof(MySqlConnector.MySqlException) Actual: typeof(System.InvalidOperationException) ---- System.InvalidOperationException : The LINQ expression 'CROSS APPLY ( SELECT 1 FROM Orders AS o2 WHERE o2.OrderID < o0.OrderID ORDER BY o2.OrderID ASC OFFSET 0 ROWS FETCH NEXT 100 ROWS ONLY ) AS o1' could not be translated. Either rewrite the query in a form that can be translated, or switch to client evaluation explicitly by inserting a call to 'AsEnumerable', 'AsAsyncEnumerable', 'ToList', or 'ToListAsync'. See https://go.microsoft.com/fwlink/?linkid=2101038 for more information.

Check failure on line 758 in test/EFCore.MySql.FunctionalTests/BulkUpdates/NorthwindBulkUpdatesMySqlTest.cs

View workflow job for this annotation

GitHub Actions / BuildAndTest (10.6.20-mariadb, windows-latest)

Pomelo.EntityFrameworkCore.MySql.FunctionalTests.BulkUpdates.NorthwindBulkUpdatesMySqlTest.Delete_with_cross_apply(async: False)

Assert.Throws() Failure: Exception type was not an exact match Expected: typeof(MySqlConnector.MySqlException) Actual: typeof(System.InvalidOperationException) ---- System.InvalidOperationException : The LINQ expression 'CROSS APPLY ( SELECT 1 FROM Orders AS o2 WHERE o2.OrderID < o0.OrderID ORDER BY o2.OrderID ASC OFFSET 0 ROWS FETCH NEXT 100 ROWS ONLY ) AS o1' could not be translated. Either rewrite the query in a form that can be translated, or switch to client evaluation explicitly by inserting a call to 'AsEnumerable', 'AsAsyncEnumerable', 'ToList', or 'ToListAsync'. See https://go.microsoft.com/fwlink/?linkid=2101038 for more information.

Check failure on line 758 in test/EFCore.MySql.FunctionalTests/BulkUpdates/NorthwindBulkUpdatesMySqlTest.cs

View workflow job for this annotation

GitHub Actions / BuildAndTest (10.5.27-mariadb, windows-latest)

Pomelo.EntityFrameworkCore.MySql.FunctionalTests.BulkUpdates.NorthwindBulkUpdatesMySqlTest.Delete_with_cross_apply(async: True)

Assert.Throws() Failure: Exception type was not an exact match Expected: typeof(MySqlConnector.MySqlException) Actual: typeof(System.InvalidOperationException) ---- System.InvalidOperationException : The LINQ expression 'CROSS APPLY ( SELECT 1 FROM Orders AS o2 WHERE o2.OrderID < o0.OrderID ORDER BY o2.OrderID ASC OFFSET 0 ROWS FETCH NEXT 100 ROWS ONLY ) AS o1' could not be translated. Either rewrite the query in a form that can be translated, or switch to client evaluation explicitly by inserting a call to 'AsEnumerable', 'AsAsyncEnumerable', 'ToList', or 'ToListAsync'. See https://go.microsoft.com/fwlink/?linkid=2101038 for more information.

Check failure on line 758 in test/EFCore.MySql.FunctionalTests/BulkUpdates/NorthwindBulkUpdatesMySqlTest.cs

View workflow job for this annotation

GitHub Actions / BuildAndTest (10.5.27-mariadb, windows-latest)

Pomelo.EntityFrameworkCore.MySql.FunctionalTests.BulkUpdates.NorthwindBulkUpdatesMySqlTest.Delete_with_cross_apply(async: False)

Assert.Throws() Failure: Exception type was not an exact match Expected: typeof(MySqlConnector.MySqlException) Actual: typeof(System.InvalidOperationException) ---- System.InvalidOperationException : The LINQ expression 'CROSS APPLY ( SELECT 1 FROM Orders AS o2 WHERE o2.OrderID < o0.OrderID ORDER BY o2.OrderID ASC OFFSET 0 ROWS FETCH NEXT 100 ROWS ONLY ) AS o1' could not be translated. Either rewrite the query in a form that can be translated, or switch to client evaluation explicitly by inserting a call to 'AsEnumerable', 'AsAsyncEnumerable', 'ToList', or 'ToListAsync'. See https://go.microsoft.com/fwlink/?linkid=2101038 for more information.

Check failure on line 758 in test/EFCore.MySql.FunctionalTests/BulkUpdates/NorthwindBulkUpdatesMySqlTest.cs

View workflow job for this annotation

GitHub Actions / BuildAndTest (10.11.10-mariadb, windows-latest)

Pomelo.EntityFrameworkCore.MySql.FunctionalTests.BulkUpdates.NorthwindBulkUpdatesMySqlTest.Delete_with_cross_apply(async: True)

Assert.Throws() Failure: Exception type was not an exact match Expected: typeof(MySqlConnector.MySqlException) Actual: typeof(System.InvalidOperationException) ---- System.InvalidOperationException : The LINQ expression 'CROSS APPLY ( SELECT 1 FROM Orders AS o2 WHERE o2.OrderID < o0.OrderID ORDER BY o2.OrderID ASC OFFSET 0 ROWS FETCH NEXT 100 ROWS ONLY ) AS o1' could not be translated. Either rewrite the query in a form that can be translated, or switch to client evaluation explicitly by inserting a call to 'AsEnumerable', 'AsAsyncEnumerable', 'ToList', or 'ToListAsync'. See https://go.microsoft.com/fwlink/?linkid=2101038 for more information.

Check failure on line 758 in test/EFCore.MySql.FunctionalTests/BulkUpdates/NorthwindBulkUpdatesMySqlTest.cs

View workflow job for this annotation

GitHub Actions / BuildAndTest (10.11.10-mariadb, windows-latest)

Pomelo.EntityFrameworkCore.MySql.FunctionalTests.BulkUpdates.NorthwindBulkUpdatesMySqlTest.Delete_with_cross_apply(async: False)

Assert.Throws() Failure: Exception type was not an exact match Expected: typeof(MySqlConnector.MySqlException) Actual: typeof(System.InvalidOperationException) ---- System.InvalidOperationException : The LINQ expression 'CROSS APPLY ( SELECT 1 FROM Orders AS o2 WHERE o2.OrderID < o0.OrderID ORDER BY o2.OrderID ASC OFFSET 0 ROWS FETCH NEXT 100 ROWS ONLY ) AS o1' could not be translated. Either rewrite the query in a form that can be translated, or switch to client evaluation explicitly by inserting a call to 'AsEnumerable', 'AsAsyncEnumerable', 'ToList', or 'ToListAsync'. See https://go.microsoft.com/fwlink/?linkid=2101038 for more information.

Check failure on line 758 in test/EFCore.MySql.FunctionalTests/BulkUpdates/NorthwindBulkUpdatesMySqlTest.cs

View workflow job for this annotation

GitHub Actions / BuildAndTest (10.6.20-mariadb, windows-latest)

Pomelo.EntityFrameworkCore.MySql.FunctionalTests.BulkUpdates.NorthwindBulkUpdatesMySqlTest.Delete_with_cross_apply(async: True)

Assert.Throws() Failure: Exception type was not an exact match Expected: typeof(MySqlConnector.MySqlException) Actual: typeof(System.InvalidOperationException) ---- System.InvalidOperationException : The LINQ expression 'CROSS APPLY ( SELECT 1 FROM Orders AS o2 WHERE o2.OrderID < o0.OrderID ORDER BY o2.OrderID ASC OFFSET 0 ROWS FETCH NEXT 100 ROWS ONLY ) AS o1' could not be translated. Either rewrite the query in a form that can be translated, or switch to client evaluation explicitly by inserting a call to 'AsEnumerable', 'AsAsyncEnumerable', 'ToList', or 'ToListAsync'. See https://go.microsoft.com/fwlink/?linkid=2101038 for more information.

Check failure on line 758 in test/EFCore.MySql.FunctionalTests/BulkUpdates/NorthwindBulkUpdatesMySqlTest.cs

View workflow job for this annotation

GitHub Actions / BuildAndTest (10.6.20-mariadb, windows-latest)

Pomelo.EntityFrameworkCore.MySql.FunctionalTests.BulkUpdates.NorthwindBulkUpdatesMySqlTest.Delete_with_cross_apply(async: False)

Assert.Throws() Failure: Exception type was not an exact match Expected: typeof(MySqlConnector.MySqlException) Actual: typeof(System.InvalidOperationException) ---- System.InvalidOperationException : The LINQ expression 'CROSS APPLY ( SELECT 1 FROM Orders AS o2 WHERE o2.OrderID < o0.OrderID ORDER BY o2.OrderID ASC OFFSET 0 ROWS FETCH NEXT 100 ROWS ONLY ) AS o1' could not be translated. Either rewrite the query in a form that can be translated, or switch to client evaluation explicitly by inserting a call to 'AsEnumerable', 'AsAsyncEnumerable', 'ToList', or 'ToListAsync'. See https://go.microsoft.com/fwlink/?linkid=2101038 for more information.

Check failure on line 758 in test/EFCore.MySql.FunctionalTests/BulkUpdates/NorthwindBulkUpdatesMySqlTest.cs

View workflow job for this annotation

GitHub Actions / BuildAndTest (10.11.10-mariadb, windows-latest)

Pomelo.EntityFrameworkCore.MySql.FunctionalTests.BulkUpdates.NorthwindBulkUpdatesMySqlTest.Delete_with_cross_apply(async: True)

Assert.Throws() Failure: Exception type was not an exact match Expected: typeof(MySqlConnector.MySqlException) Actual: typeof(System.InvalidOperationException) ---- System.InvalidOperationException : The LINQ expression 'CROSS APPLY ( SELECT 1 FROM Orders AS o2 WHERE o2.OrderID < o0.OrderID ORDER BY o2.OrderID ASC OFFSET 0 ROWS FETCH NEXT 100 ROWS ONLY ) AS o1' could not be translated. Either rewrite the query in a form that can be translated, or switch to client evaluation explicitly by inserting a call to 'AsEnumerable', 'AsAsyncEnumerable', 'ToList', or 'ToListAsync'. See https://go.microsoft.com/fwlink/?linkid=2101038 for more information.

Check failure on line 758 in test/EFCore.MySql.FunctionalTests/BulkUpdates/NorthwindBulkUpdatesMySqlTest.cs

View workflow job for this annotation

GitHub Actions / BuildAndTest (10.11.10-mariadb, windows-latest)

Pomelo.EntityFrameworkCore.MySql.FunctionalTests.BulkUpdates.NorthwindBulkUpdatesMySqlTest.Delete_with_cross_apply(async: False)

Assert.Throws() Failure: Exception type was not an exact match Expected: typeof(MySqlConnector.MySqlException) Actual: typeof(System.InvalidOperationException) ---- System.InvalidOperationException : The LINQ expression 'CROSS APPLY ( SELECT 1 FROM Orders AS o2 WHERE o2.OrderID < o0.OrderID ORDER BY o2.OrderID ASC OFFSET 0 ROWS FETCH NEXT 100 ROWS ONLY ) AS o1' could not be translated. Either rewrite the query in a form that can be translated, or switch to client evaluation explicitly by inserting a call to 'AsEnumerable', 'AsAsyncEnumerable', 'ToList', or 'ToListAsync'. See https://go.microsoft.com/fwlink/?linkid=2101038 for more information.

Check failure on line 758 in test/EFCore.MySql.FunctionalTests/BulkUpdates/NorthwindBulkUpdatesMySqlTest.cs

View workflow job for this annotation

GitHub Actions / BuildAndTest (10.5.27-mariadb, windows-latest)

Pomelo.EntityFrameworkCore.MySql.FunctionalTests.BulkUpdates.NorthwindBulkUpdatesMySqlTest.Delete_with_cross_apply(async: True)

Assert.Throws() Failure: Exception type was not an exact match Expected: typeof(MySqlConnector.MySqlException) Actual: typeof(System.InvalidOperationException) ---- System.InvalidOperationException : The LINQ expression 'CROSS APPLY ( SELECT 1 FROM Orders AS o2 WHERE o2.OrderID < o0.OrderID ORDER BY o2.OrderID ASC OFFSET 0 ROWS FETCH NEXT 100 ROWS ONLY ) AS o1' could not be translated. Either rewrite the query in a form that can be translated, or switch to client evaluation explicitly by inserting a call to 'AsEnumerable', 'AsAsyncEnumerable', 'ToList', or 'ToListAsync'. See https://go.microsoft.com/fwlink/?linkid=2101038 for more information.

Check failure on line 758 in test/EFCore.MySql.FunctionalTests/BulkUpdates/NorthwindBulkUpdatesMySqlTest.cs

View workflow job for this annotation

GitHub Actions / BuildAndTest (10.5.27-mariadb, windows-latest)

Pomelo.EntityFrameworkCore.MySql.FunctionalTests.BulkUpdates.NorthwindBulkUpdatesMySqlTest.Delete_with_cross_apply(async: False)

Assert.Throws() Failure: Exception type was not an exact match Expected: typeof(MySqlConnector.MySqlException) Actual: typeof(System.InvalidOperationException) ---- System.InvalidOperationException : The LINQ expression 'CROSS APPLY ( SELECT 1 FROM Orders AS o2 WHERE o2.OrderID < o0.OrderID ORDER BY o2.OrderID ASC OFFSET 0 ROWS FETCH NEXT 100 ROWS ONLY ) AS o1' could not be translated. Either rewrite the query in a form that can be translated, or switch to client evaluation explicitly by inserting a call to 'AsEnumerable', 'AsAsyncEnumerable', 'ToList', or 'ToListAsync'. See https://go.microsoft.com/fwlink/?linkid=2101038 for more information.
() => base.Delete_with_cross_apply(async));
}
}
Expand Down Expand Up @@ -762,7 +784,7 @@
{
// Not supported by MySQL and older MariaDB versions:
// Error Code: 1093. You can't specify target table 'o' for update in FROM clause
await Assert.ThrowsAsync<MySqlException>(

Check failure on line 787 in test/EFCore.MySql.FunctionalTests/BulkUpdates/NorthwindBulkUpdatesMySqlTest.cs

View workflow job for this annotation

GitHub Actions / BuildAndTest (10.6.20-mariadb, ubuntu-latest)

Pomelo.EntityFrameworkCore.MySql.FunctionalTests.BulkUpdates.NorthwindBulkUpdatesMySqlTest.Delete_with_outer_apply(async: True)

Assert.Throws() Failure: Exception type was not an exact match Expected: typeof(MySqlConnector.MySqlException) Actual: typeof(System.InvalidOperationException) ---- System.InvalidOperationException : The LINQ expression 'OUTER APPLY ( SELECT 1 FROM Orders AS o2 WHERE o2.OrderID < o0.OrderID ORDER BY o2.OrderID ASC OFFSET 0 ROWS FETCH NEXT 100 ROWS ONLY ) AS o1' could not be translated. Either rewrite the query in a form that can be translated, or switch to client evaluation explicitly by inserting a call to 'AsEnumerable', 'AsAsyncEnumerable', 'ToList', or 'ToListAsync'. See https://go.microsoft.com/fwlink/?linkid=2101038 for more information.

Check failure on line 787 in test/EFCore.MySql.FunctionalTests/BulkUpdates/NorthwindBulkUpdatesMySqlTest.cs

View workflow job for this annotation

GitHub Actions / BuildAndTest (10.6.20-mariadb, ubuntu-latest)

Pomelo.EntityFrameworkCore.MySql.FunctionalTests.BulkUpdates.NorthwindBulkUpdatesMySqlTest.Delete_with_outer_apply(async: False)

Assert.Throws() Failure: Exception type was not an exact match Expected: typeof(MySqlConnector.MySqlException) Actual: typeof(System.InvalidOperationException) ---- System.InvalidOperationException : The LINQ expression 'OUTER APPLY ( SELECT 1 FROM Orders AS o2 WHERE o2.OrderID < o0.OrderID ORDER BY o2.OrderID ASC OFFSET 0 ROWS FETCH NEXT 100 ROWS ONLY ) AS o1' could not be translated. Either rewrite the query in a form that can be translated, or switch to client evaluation explicitly by inserting a call to 'AsEnumerable', 'AsAsyncEnumerable', 'ToList', or 'ToListAsync'. See https://go.microsoft.com/fwlink/?linkid=2101038 for more information.

Check failure on line 787 in test/EFCore.MySql.FunctionalTests/BulkUpdates/NorthwindBulkUpdatesMySqlTest.cs

View workflow job for this annotation

GitHub Actions / BuildAndTest (10.5.27-mariadb, ubuntu-latest)

Pomelo.EntityFrameworkCore.MySql.FunctionalTests.BulkUpdates.NorthwindBulkUpdatesMySqlTest.Delete_with_outer_apply(async: True)

Assert.Throws() Failure: Exception type was not an exact match Expected: typeof(MySqlConnector.MySqlException) Actual: typeof(System.InvalidOperationException) ---- System.InvalidOperationException : The LINQ expression 'OUTER APPLY ( SELECT 1 FROM Orders AS o2 WHERE o2.OrderID < o0.OrderID ORDER BY o2.OrderID ASC OFFSET 0 ROWS FETCH NEXT 100 ROWS ONLY ) AS o1' could not be translated. Either rewrite the query in a form that can be translated, or switch to client evaluation explicitly by inserting a call to 'AsEnumerable', 'AsAsyncEnumerable', 'ToList', or 'ToListAsync'. See https://go.microsoft.com/fwlink/?linkid=2101038 for more information.

Check failure on line 787 in test/EFCore.MySql.FunctionalTests/BulkUpdates/NorthwindBulkUpdatesMySqlTest.cs

View workflow job for this annotation

GitHub Actions / BuildAndTest (10.5.27-mariadb, ubuntu-latest)

Pomelo.EntityFrameworkCore.MySql.FunctionalTests.BulkUpdates.NorthwindBulkUpdatesMySqlTest.Delete_with_outer_apply(async: False)

Assert.Throws() Failure: Exception type was not an exact match Expected: typeof(MySqlConnector.MySqlException) Actual: typeof(System.InvalidOperationException) ---- System.InvalidOperationException : The LINQ expression 'OUTER APPLY ( SELECT 1 FROM Orders AS o2 WHERE o2.OrderID < o0.OrderID ORDER BY o2.OrderID ASC OFFSET 0 ROWS FETCH NEXT 100 ROWS ONLY ) AS o1' could not be translated. Either rewrite the query in a form that can be translated, or switch to client evaluation explicitly by inserting a call to 'AsEnumerable', 'AsAsyncEnumerable', 'ToList', or 'ToListAsync'. See https://go.microsoft.com/fwlink/?linkid=2101038 for more information.

Check failure on line 787 in test/EFCore.MySql.FunctionalTests/BulkUpdates/NorthwindBulkUpdatesMySqlTest.cs

View workflow job for this annotation

GitHub Actions / BuildAndTest (10.11.10-mariadb, ubuntu-latest)

Pomelo.EntityFrameworkCore.MySql.FunctionalTests.BulkUpdates.NorthwindBulkUpdatesMySqlTest.Delete_with_outer_apply(async: True)

Assert.Throws() Failure: Exception type was not an exact match Expected: typeof(MySqlConnector.MySqlException) Actual: typeof(System.InvalidOperationException) ---- System.InvalidOperationException : The LINQ expression 'OUTER APPLY ( SELECT 1 FROM Orders AS o2 WHERE o2.OrderID < o0.OrderID ORDER BY o2.OrderID ASC OFFSET 0 ROWS FETCH NEXT 100 ROWS ONLY ) AS o1' could not be translated. Either rewrite the query in a form that can be translated, or switch to client evaluation explicitly by inserting a call to 'AsEnumerable', 'AsAsyncEnumerable', 'ToList', or 'ToListAsync'. See https://go.microsoft.com/fwlink/?linkid=2101038 for more information.

Check failure on line 787 in test/EFCore.MySql.FunctionalTests/BulkUpdates/NorthwindBulkUpdatesMySqlTest.cs

View workflow job for this annotation

GitHub Actions / BuildAndTest (10.11.10-mariadb, ubuntu-latest)

Pomelo.EntityFrameworkCore.MySql.FunctionalTests.BulkUpdates.NorthwindBulkUpdatesMySqlTest.Delete_with_outer_apply(async: False)

Assert.Throws() Failure: Exception type was not an exact match Expected: typeof(MySqlConnector.MySqlException) Actual: typeof(System.InvalidOperationException) ---- System.InvalidOperationException : The LINQ expression 'OUTER APPLY ( SELECT 1 FROM Orders AS o2 WHERE o2.OrderID < o0.OrderID ORDER BY o2.OrderID ASC OFFSET 0 ROWS FETCH NEXT 100 ROWS ONLY ) AS o1' could not be translated. Either rewrite the query in a form that can be translated, or switch to client evaluation explicitly by inserting a call to 'AsEnumerable', 'AsAsyncEnumerable', 'ToList', or 'ToListAsync'. See https://go.microsoft.com/fwlink/?linkid=2101038 for more information.

Check failure on line 787 in test/EFCore.MySql.FunctionalTests/BulkUpdates/NorthwindBulkUpdatesMySqlTest.cs

View workflow job for this annotation

GitHub Actions / BuildAndTest (10.5.27-mariadb, ubuntu-latest)

Pomelo.EntityFrameworkCore.MySql.FunctionalTests.BulkUpdates.NorthwindBulkUpdatesMySqlTest.Delete_with_outer_apply(async: True)

Assert.Throws() Failure: Exception type was not an exact match Expected: typeof(MySqlConnector.MySqlException) Actual: typeof(System.InvalidOperationException) ---- System.InvalidOperationException : The LINQ expression 'OUTER APPLY ( SELECT 1 FROM Orders AS o2 WHERE o2.OrderID < o0.OrderID ORDER BY o2.OrderID ASC OFFSET 0 ROWS FETCH NEXT 100 ROWS ONLY ) AS o1' could not be translated. Either rewrite the query in a form that can be translated, or switch to client evaluation explicitly by inserting a call to 'AsEnumerable', 'AsAsyncEnumerable', 'ToList', or 'ToListAsync'. See https://go.microsoft.com/fwlink/?linkid=2101038 for more information.

Check failure on line 787 in test/EFCore.MySql.FunctionalTests/BulkUpdates/NorthwindBulkUpdatesMySqlTest.cs

View workflow job for this annotation

GitHub Actions / BuildAndTest (10.5.27-mariadb, ubuntu-latest)

Pomelo.EntityFrameworkCore.MySql.FunctionalTests.BulkUpdates.NorthwindBulkUpdatesMySqlTest.Delete_with_outer_apply(async: False)

Assert.Throws() Failure: Exception type was not an exact match Expected: typeof(MySqlConnector.MySqlException) Actual: typeof(System.InvalidOperationException) ---- System.InvalidOperationException : The LINQ expression 'OUTER APPLY ( SELECT 1 FROM Orders AS o2 WHERE o2.OrderID < o0.OrderID ORDER BY o2.OrderID ASC OFFSET 0 ROWS FETCH NEXT 100 ROWS ONLY ) AS o1' could not be translated. Either rewrite the query in a form that can be translated, or switch to client evaluation explicitly by inserting a call to 'AsEnumerable', 'AsAsyncEnumerable', 'ToList', or 'ToListAsync'. See https://go.microsoft.com/fwlink/?linkid=2101038 for more information.

Check failure on line 787 in test/EFCore.MySql.FunctionalTests/BulkUpdates/NorthwindBulkUpdatesMySqlTest.cs

View workflow job for this annotation

GitHub Actions / BuildAndTest (10.11.10-mariadb, ubuntu-latest)

Pomelo.EntityFrameworkCore.MySql.FunctionalTests.BulkUpdates.NorthwindBulkUpdatesMySqlTest.Delete_with_outer_apply(async: True)

Assert.Throws() Failure: Exception type was not an exact match Expected: typeof(MySqlConnector.MySqlException) Actual: typeof(System.InvalidOperationException) ---- System.InvalidOperationException : The LINQ expression 'OUTER APPLY ( SELECT 1 FROM Orders AS o2 WHERE o2.OrderID < o0.OrderID ORDER BY o2.OrderID ASC OFFSET 0 ROWS FETCH NEXT 100 ROWS ONLY ) AS o1' could not be translated. Either rewrite the query in a form that can be translated, or switch to client evaluation explicitly by inserting a call to 'AsEnumerable', 'AsAsyncEnumerable', 'ToList', or 'ToListAsync'. See https://go.microsoft.com/fwlink/?linkid=2101038 for more information.

Check failure on line 787 in test/EFCore.MySql.FunctionalTests/BulkUpdates/NorthwindBulkUpdatesMySqlTest.cs

View workflow job for this annotation

GitHub Actions / BuildAndTest (10.11.10-mariadb, ubuntu-latest)

Pomelo.EntityFrameworkCore.MySql.FunctionalTests.BulkUpdates.NorthwindBulkUpdatesMySqlTest.Delete_with_outer_apply(async: False)

Assert.Throws() Failure: Exception type was not an exact match Expected: typeof(MySqlConnector.MySqlException) Actual: typeof(System.InvalidOperationException) ---- System.InvalidOperationException : The LINQ expression 'OUTER APPLY ( SELECT 1 FROM Orders AS o2 WHERE o2.OrderID < o0.OrderID ORDER BY o2.OrderID ASC OFFSET 0 ROWS FETCH NEXT 100 ROWS ONLY ) AS o1' could not be translated. Either rewrite the query in a form that can be translated, or switch to client evaluation explicitly by inserting a call to 'AsEnumerable', 'AsAsyncEnumerable', 'ToList', or 'ToListAsync'. See https://go.microsoft.com/fwlink/?linkid=2101038 for more information.

Check failure on line 787 in test/EFCore.MySql.FunctionalTests/BulkUpdates/NorthwindBulkUpdatesMySqlTest.cs

View workflow job for this annotation

GitHub Actions / BuildAndTest (10.6.20-mariadb, ubuntu-latest)

Pomelo.EntityFrameworkCore.MySql.FunctionalTests.BulkUpdates.NorthwindBulkUpdatesMySqlTest.Delete_with_outer_apply(async: True)

Assert.Throws() Failure: Exception type was not an exact match Expected: typeof(MySqlConnector.MySqlException) Actual: typeof(System.InvalidOperationException) ---- System.InvalidOperationException : The LINQ expression 'OUTER APPLY ( SELECT 1 FROM Orders AS o2 WHERE o2.OrderID < o0.OrderID ORDER BY o2.OrderID ASC OFFSET 0 ROWS FETCH NEXT 100 ROWS ONLY ) AS o1' could not be translated. Either rewrite the query in a form that can be translated, or switch to client evaluation explicitly by inserting a call to 'AsEnumerable', 'AsAsyncEnumerable', 'ToList', or 'ToListAsync'. See https://go.microsoft.com/fwlink/?linkid=2101038 for more information.

Check failure on line 787 in test/EFCore.MySql.FunctionalTests/BulkUpdates/NorthwindBulkUpdatesMySqlTest.cs

View workflow job for this annotation

GitHub Actions / BuildAndTest (10.6.20-mariadb, ubuntu-latest)

Pomelo.EntityFrameworkCore.MySql.FunctionalTests.BulkUpdates.NorthwindBulkUpdatesMySqlTest.Delete_with_outer_apply(async: False)

Assert.Throws() Failure: Exception type was not an exact match Expected: typeof(MySqlConnector.MySqlException) Actual: typeof(System.InvalidOperationException) ---- System.InvalidOperationException : The LINQ expression 'OUTER APPLY ( SELECT 1 FROM Orders AS o2 WHERE o2.OrderID < o0.OrderID ORDER BY o2.OrderID ASC OFFSET 0 ROWS FETCH NEXT 100 ROWS ONLY ) AS o1' could not be translated. Either rewrite the query in a form that can be translated, or switch to client evaluation explicitly by inserting a call to 'AsEnumerable', 'AsAsyncEnumerable', 'ToList', or 'ToListAsync'. See https://go.microsoft.com/fwlink/?linkid=2101038 for more information.

Check failure on line 787 in test/EFCore.MySql.FunctionalTests/BulkUpdates/NorthwindBulkUpdatesMySqlTest.cs

View workflow job for this annotation

GitHub Actions / BuildAndTest (10.6.20-mariadb, windows-latest)

Pomelo.EntityFrameworkCore.MySql.FunctionalTests.BulkUpdates.NorthwindBulkUpdatesMySqlTest.Delete_with_outer_apply(async: True)

Assert.Throws() Failure: Exception type was not an exact match Expected: typeof(MySqlConnector.MySqlException) Actual: typeof(System.InvalidOperationException) ---- System.InvalidOperationException : The LINQ expression 'OUTER APPLY ( SELECT 1 FROM Orders AS o2 WHERE o2.OrderID < o0.OrderID ORDER BY o2.OrderID ASC OFFSET 0 ROWS FETCH NEXT 100 ROWS ONLY ) AS o1' could not be translated. Either rewrite the query in a form that can be translated, or switch to client evaluation explicitly by inserting a call to 'AsEnumerable', 'AsAsyncEnumerable', 'ToList', or 'ToListAsync'. See https://go.microsoft.com/fwlink/?linkid=2101038 for more information.

Check failure on line 787 in test/EFCore.MySql.FunctionalTests/BulkUpdates/NorthwindBulkUpdatesMySqlTest.cs

View workflow job for this annotation

GitHub Actions / BuildAndTest (10.6.20-mariadb, windows-latest)

Pomelo.EntityFrameworkCore.MySql.FunctionalTests.BulkUpdates.NorthwindBulkUpdatesMySqlTest.Delete_with_outer_apply(async: False)

Assert.Throws() Failure: Exception type was not an exact match Expected: typeof(MySqlConnector.MySqlException) Actual: typeof(System.InvalidOperationException) ---- System.InvalidOperationException : The LINQ expression 'OUTER APPLY ( SELECT 1 FROM Orders AS o2 WHERE o2.OrderID < o0.OrderID ORDER BY o2.OrderID ASC OFFSET 0 ROWS FETCH NEXT 100 ROWS ONLY ) AS o1' could not be translated. Either rewrite the query in a form that can be translated, or switch to client evaluation explicitly by inserting a call to 'AsEnumerable', 'AsAsyncEnumerable', 'ToList', or 'ToListAsync'. See https://go.microsoft.com/fwlink/?linkid=2101038 for more information.

Check failure on line 787 in test/EFCore.MySql.FunctionalTests/BulkUpdates/NorthwindBulkUpdatesMySqlTest.cs

View workflow job for this annotation

GitHub Actions / BuildAndTest (10.5.27-mariadb, windows-latest)

Pomelo.EntityFrameworkCore.MySql.FunctionalTests.BulkUpdates.NorthwindBulkUpdatesMySqlTest.Delete_with_outer_apply(async: True)

Assert.Throws() Failure: Exception type was not an exact match Expected: typeof(MySqlConnector.MySqlException) Actual: typeof(System.InvalidOperationException) ---- System.InvalidOperationException : The LINQ expression 'OUTER APPLY ( SELECT 1 FROM Orders AS o2 WHERE o2.OrderID < o0.OrderID ORDER BY o2.OrderID ASC OFFSET 0 ROWS FETCH NEXT 100 ROWS ONLY ) AS o1' could not be translated. Either rewrite the query in a form that can be translated, or switch to client evaluation explicitly by inserting a call to 'AsEnumerable', 'AsAsyncEnumerable', 'ToList', or 'ToListAsync'. See https://go.microsoft.com/fwlink/?linkid=2101038 for more information.

Check failure on line 787 in test/EFCore.MySql.FunctionalTests/BulkUpdates/NorthwindBulkUpdatesMySqlTest.cs

View workflow job for this annotation

GitHub Actions / BuildAndTest (10.5.27-mariadb, windows-latest)

Pomelo.EntityFrameworkCore.MySql.FunctionalTests.BulkUpdates.NorthwindBulkUpdatesMySqlTest.Delete_with_outer_apply(async: False)

Assert.Throws() Failure: Exception type was not an exact match Expected: typeof(MySqlConnector.MySqlException) Actual: typeof(System.InvalidOperationException) ---- System.InvalidOperationException : The LINQ expression 'OUTER APPLY ( SELECT 1 FROM Orders AS o2 WHERE o2.OrderID < o0.OrderID ORDER BY o2.OrderID ASC OFFSET 0 ROWS FETCH NEXT 100 ROWS ONLY ) AS o1' could not be translated. Either rewrite the query in a form that can be translated, or switch to client evaluation explicitly by inserting a call to 'AsEnumerable', 'AsAsyncEnumerable', 'ToList', or 'ToListAsync'. See https://go.microsoft.com/fwlink/?linkid=2101038 for more information.

Check failure on line 787 in test/EFCore.MySql.FunctionalTests/BulkUpdates/NorthwindBulkUpdatesMySqlTest.cs

View workflow job for this annotation

GitHub Actions / BuildAndTest (10.11.10-mariadb, windows-latest)

Pomelo.EntityFrameworkCore.MySql.FunctionalTests.BulkUpdates.NorthwindBulkUpdatesMySqlTest.Delete_with_outer_apply(async: True)

Assert.Throws() Failure: Exception type was not an exact match Expected: typeof(MySqlConnector.MySqlException) Actual: typeof(System.InvalidOperationException) ---- System.InvalidOperationException : The LINQ expression 'OUTER APPLY ( SELECT 1 FROM Orders AS o2 WHERE o2.OrderID < o0.OrderID ORDER BY o2.OrderID ASC OFFSET 0 ROWS FETCH NEXT 100 ROWS ONLY ) AS o1' could not be translated. Either rewrite the query in a form that can be translated, or switch to client evaluation explicitly by inserting a call to 'AsEnumerable', 'AsAsyncEnumerable', 'ToList', or 'ToListAsync'. See https://go.microsoft.com/fwlink/?linkid=2101038 for more information.

Check failure on line 787 in test/EFCore.MySql.FunctionalTests/BulkUpdates/NorthwindBulkUpdatesMySqlTest.cs

View workflow job for this annotation

GitHub Actions / BuildAndTest (10.11.10-mariadb, windows-latest)

Pomelo.EntityFrameworkCore.MySql.FunctionalTests.BulkUpdates.NorthwindBulkUpdatesMySqlTest.Delete_with_outer_apply(async: False)

Assert.Throws() Failure: Exception type was not an exact match Expected: typeof(MySqlConnector.MySqlException) Actual: typeof(System.InvalidOperationException) ---- System.InvalidOperationException : The LINQ expression 'OUTER APPLY ( SELECT 1 FROM Orders AS o2 WHERE o2.OrderID < o0.OrderID ORDER BY o2.OrderID ASC OFFSET 0 ROWS FETCH NEXT 100 ROWS ONLY ) AS o1' could not be translated. Either rewrite the query in a form that can be translated, or switch to client evaluation explicitly by inserting a call to 'AsEnumerable', 'AsAsyncEnumerable', 'ToList', or 'ToListAsync'. See https://go.microsoft.com/fwlink/?linkid=2101038 for more information.

Check failure on line 787 in test/EFCore.MySql.FunctionalTests/BulkUpdates/NorthwindBulkUpdatesMySqlTest.cs

View workflow job for this annotation

GitHub Actions / BuildAndTest (10.6.20-mariadb, windows-latest)

Pomelo.EntityFrameworkCore.MySql.FunctionalTests.BulkUpdates.NorthwindBulkUpdatesMySqlTest.Delete_with_outer_apply(async: True)

Assert.Throws() Failure: Exception type was not an exact match Expected: typeof(MySqlConnector.MySqlException) Actual: typeof(System.InvalidOperationException) ---- System.InvalidOperationException : The LINQ expression 'OUTER APPLY ( SELECT 1 FROM Orders AS o2 WHERE o2.OrderID < o0.OrderID ORDER BY o2.OrderID ASC OFFSET 0 ROWS FETCH NEXT 100 ROWS ONLY ) AS o1' could not be translated. Either rewrite the query in a form that can be translated, or switch to client evaluation explicitly by inserting a call to 'AsEnumerable', 'AsAsyncEnumerable', 'ToList', or 'ToListAsync'. See https://go.microsoft.com/fwlink/?linkid=2101038 for more information.

Check failure on line 787 in test/EFCore.MySql.FunctionalTests/BulkUpdates/NorthwindBulkUpdatesMySqlTest.cs

View workflow job for this annotation

GitHub Actions / BuildAndTest (10.6.20-mariadb, windows-latest)

Pomelo.EntityFrameworkCore.MySql.FunctionalTests.BulkUpdates.NorthwindBulkUpdatesMySqlTest.Delete_with_outer_apply(async: False)

Assert.Throws() Failure: Exception type was not an exact match Expected: typeof(MySqlConnector.MySqlException) Actual: typeof(System.InvalidOperationException) ---- System.InvalidOperationException : The LINQ expression 'OUTER APPLY ( SELECT 1 FROM Orders AS o2 WHERE o2.OrderID < o0.OrderID ORDER BY o2.OrderID ASC OFFSET 0 ROWS FETCH NEXT 100 ROWS ONLY ) AS o1' could not be translated. Either rewrite the query in a form that can be translated, or switch to client evaluation explicitly by inserting a call to 'AsEnumerable', 'AsAsyncEnumerable', 'ToList', or 'ToListAsync'. See https://go.microsoft.com/fwlink/?linkid=2101038 for more information.

Check failure on line 787 in test/EFCore.MySql.FunctionalTests/BulkUpdates/NorthwindBulkUpdatesMySqlTest.cs

View workflow job for this annotation

GitHub Actions / BuildAndTest (10.11.10-mariadb, windows-latest)

Pomelo.EntityFrameworkCore.MySql.FunctionalTests.BulkUpdates.NorthwindBulkUpdatesMySqlTest.Delete_with_outer_apply(async: True)

Assert.Throws() Failure: Exception type was not an exact match Expected: typeof(MySqlConnector.MySqlException) Actual: typeof(System.InvalidOperationException) ---- System.InvalidOperationException : The LINQ expression 'OUTER APPLY ( SELECT 1 FROM Orders AS o2 WHERE o2.OrderID < o0.OrderID ORDER BY o2.OrderID ASC OFFSET 0 ROWS FETCH NEXT 100 ROWS ONLY ) AS o1' could not be translated. Either rewrite the query in a form that can be translated, or switch to client evaluation explicitly by inserting a call to 'AsEnumerable', 'AsAsyncEnumerable', 'ToList', or 'ToListAsync'. See https://go.microsoft.com/fwlink/?linkid=2101038 for more information.

Check failure on line 787 in test/EFCore.MySql.FunctionalTests/BulkUpdates/NorthwindBulkUpdatesMySqlTest.cs

View workflow job for this annotation

GitHub Actions / BuildAndTest (10.11.10-mariadb, windows-latest)

Pomelo.EntityFrameworkCore.MySql.FunctionalTests.BulkUpdates.NorthwindBulkUpdatesMySqlTest.Delete_with_outer_apply(async: False)

Assert.Throws() Failure: Exception type was not an exact match Expected: typeof(MySqlConnector.MySqlException) Actual: typeof(System.InvalidOperationException) ---- System.InvalidOperationException : The LINQ expression 'OUTER APPLY ( SELECT 1 FROM Orders AS o2 WHERE o2.OrderID < o0.OrderID ORDER BY o2.OrderID ASC OFFSET 0 ROWS FETCH NEXT 100 ROWS ONLY ) AS o1' could not be translated. Either rewrite the query in a form that can be translated, or switch to client evaluation explicitly by inserting a call to 'AsEnumerable', 'AsAsyncEnumerable', 'ToList', or 'ToListAsync'. See https://go.microsoft.com/fwlink/?linkid=2101038 for more information.

Check failure on line 787 in test/EFCore.MySql.FunctionalTests/BulkUpdates/NorthwindBulkUpdatesMySqlTest.cs

View workflow job for this annotation

GitHub Actions / BuildAndTest (10.5.27-mariadb, windows-latest)

Pomelo.EntityFrameworkCore.MySql.FunctionalTests.BulkUpdates.NorthwindBulkUpdatesMySqlTest.Delete_with_outer_apply(async: True)

Assert.Throws() Failure: Exception type was not an exact match Expected: typeof(MySqlConnector.MySqlException) Actual: typeof(System.InvalidOperationException) ---- System.InvalidOperationException : The LINQ expression 'OUTER APPLY ( SELECT 1 FROM Orders AS o2 WHERE o2.OrderID < o0.OrderID ORDER BY o2.OrderID ASC OFFSET 0 ROWS FETCH NEXT 100 ROWS ONLY ) AS o1' could not be translated. Either rewrite the query in a form that can be translated, or switch to client evaluation explicitly by inserting a call to 'AsEnumerable', 'AsAsyncEnumerable', 'ToList', or 'ToListAsync'. See https://go.microsoft.com/fwlink/?linkid=2101038 for more information.

Check failure on line 787 in test/EFCore.MySql.FunctionalTests/BulkUpdates/NorthwindBulkUpdatesMySqlTest.cs

View workflow job for this annotation

GitHub Actions / BuildAndTest (10.5.27-mariadb, windows-latest)

Pomelo.EntityFrameworkCore.MySql.FunctionalTests.BulkUpdates.NorthwindBulkUpdatesMySqlTest.Delete_with_outer_apply(async: False)

Assert.Throws() Failure: Exception type was not an exact match Expected: typeof(MySqlConnector.MySqlException) Actual: typeof(System.InvalidOperationException) ---- System.InvalidOperationException : The LINQ expression 'OUTER APPLY ( SELECT 1 FROM Orders AS o2 WHERE o2.OrderID < o0.OrderID ORDER BY o2.OrderID ASC OFFSET 0 ROWS FETCH NEXT 100 ROWS ONLY ) AS o1' could not be translated. Either rewrite the query in a form that can be translated, or switch to client evaluation explicitly by inserting a call to 'AsEnumerable', 'AsAsyncEnumerable', 'ToList', or 'ToListAsync'. See https://go.microsoft.com/fwlink/?linkid=2101038 for more information.
() => base.Delete_with_outer_apply(async));
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2165,7 +2165,7 @@
{
await base.Select_correlated_subquery_ordered(async);

AssertSql();

Check failure on line 2168 in test/EFCore.MySql.FunctionalTests/Query/NorthwindMiscellaneousQueryMySqlTest.cs

View workflow job for this annotation

GitHub Actions / BuildAndTest (8.4.3-mysql, ubuntu-latest)

Pomelo.EntityFrameworkCore.MySql.FunctionalTests.Query.NorthwindMiscellaneousQueryMySqlTest.Select_correlated_subquery_ordered(async: True)

Assert.Empty() Failure: Collection was not empty Collection: ["@p='3'\n\nSELECT `c0`.`CustomerID`, `o0`.`OrderID`"···]

Check failure on line 2168 in test/EFCore.MySql.FunctionalTests/Query/NorthwindMiscellaneousQueryMySqlTest.cs

View workflow job for this annotation

GitHub Actions / BuildAndTest (8.4.3-mysql, ubuntu-latest)

Pomelo.EntityFrameworkCore.MySql.FunctionalTests.Query.NorthwindMiscellaneousQueryMySqlTest.Select_correlated_subquery_ordered(async: False)

Assert.Empty() Failure: Collection was not empty Collection: ["@p='3'\n\nSELECT `c0`.`CustomerID`, `o0`.`OrderID`"···]

Check failure on line 2168 in test/EFCore.MySql.FunctionalTests/Query/NorthwindMiscellaneousQueryMySqlTest.cs

View workflow job for this annotation

GitHub Actions / BuildAndTest (8.4.3-mysql, ubuntu-latest)

Pomelo.EntityFrameworkCore.MySql.FunctionalTests.Query.NorthwindMiscellaneousQueryMySqlTest.Select_correlated_subquery_ordered(async: True)

Assert.Empty() Failure: Collection was not empty Collection: ["@p='3'\n\nSELECT `c0`.`CustomerID`, `o0`.`OrderID`"···]

Check failure on line 2168 in test/EFCore.MySql.FunctionalTests/Query/NorthwindMiscellaneousQueryMySqlTest.cs

View workflow job for this annotation

GitHub Actions / BuildAndTest (8.4.3-mysql, ubuntu-latest)

Pomelo.EntityFrameworkCore.MySql.FunctionalTests.Query.NorthwindMiscellaneousQueryMySqlTest.Select_correlated_subquery_ordered(async: False)

Assert.Empty() Failure: Collection was not empty Collection: ["@p='3'\n\nSELECT `c0`.`CustomerID`, `o0`.`OrderID`"···]

Check failure on line 2168 in test/EFCore.MySql.FunctionalTests/Query/NorthwindMiscellaneousQueryMySqlTest.cs

View workflow job for this annotation

GitHub Actions / BuildAndTest (8.0.40-mysql, ubuntu-latest)

Pomelo.EntityFrameworkCore.MySql.FunctionalTests.Query.NorthwindMiscellaneousQueryMySqlTest.Select_correlated_subquery_ordered(async: True)

Assert.Empty() Failure: Collection was not empty Collection: ["@p='3'\n\nSELECT `c0`.`CustomerID`, `o0`.`OrderID`"···]

Check failure on line 2168 in test/EFCore.MySql.FunctionalTests/Query/NorthwindMiscellaneousQueryMySqlTest.cs

View workflow job for this annotation

GitHub Actions / BuildAndTest (8.0.40-mysql, ubuntu-latest)

Pomelo.EntityFrameworkCore.MySql.FunctionalTests.Query.NorthwindMiscellaneousQueryMySqlTest.Select_correlated_subquery_ordered(async: False)

Assert.Empty() Failure: Collection was not empty Collection: ["@p='3'\n\nSELECT `c0`.`CustomerID`, `o0`.`OrderID`"···]

Check failure on line 2168 in test/EFCore.MySql.FunctionalTests/Query/NorthwindMiscellaneousQueryMySqlTest.cs

View workflow job for this annotation

GitHub Actions / BuildAndTest (8.0.40-mysql, ubuntu-latest)

Pomelo.EntityFrameworkCore.MySql.FunctionalTests.Query.NorthwindMiscellaneousQueryMySqlTest.Select_correlated_subquery_ordered(async: True)

Assert.Empty() Failure: Collection was not empty Collection: ["@p='3'\n\nSELECT `c0`.`CustomerID`, `o0`.`OrderID`"···]

Check failure on line 2168 in test/EFCore.MySql.FunctionalTests/Query/NorthwindMiscellaneousQueryMySqlTest.cs

View workflow job for this annotation

GitHub Actions / BuildAndTest (8.0.40-mysql, ubuntu-latest)

Pomelo.EntityFrameworkCore.MySql.FunctionalTests.Query.NorthwindMiscellaneousQueryMySqlTest.Select_correlated_subquery_ordered(async: False)

Assert.Empty() Failure: Collection was not empty Collection: ["@p='3'\n\nSELECT `c0`.`CustomerID`, `o0`.`OrderID`"···]

Check failure on line 2168 in test/EFCore.MySql.FunctionalTests/Query/NorthwindMiscellaneousQueryMySqlTest.cs

View workflow job for this annotation

GitHub Actions / BuildAndTest (8.0.40-mysql, windows-latest)

Pomelo.EntityFrameworkCore.MySql.FunctionalTests.Query.NorthwindMiscellaneousQueryMySqlTest.Select_correlated_subquery_ordered(async: True)

Assert.Empty() Failure: Collection was not empty Collection: ["@p='3'\r\n\r\nSELECT `c0`.`CustomerID`, `o0`.`Orde"···]

Check failure on line 2168 in test/EFCore.MySql.FunctionalTests/Query/NorthwindMiscellaneousQueryMySqlTest.cs

View workflow job for this annotation

GitHub Actions / BuildAndTest (8.0.40-mysql, windows-latest)

Pomelo.EntityFrameworkCore.MySql.FunctionalTests.Query.NorthwindMiscellaneousQueryMySqlTest.Select_correlated_subquery_ordered(async: False)

Assert.Empty() Failure: Collection was not empty Collection: ["@p='3'\r\n\r\nSELECT `c0`.`CustomerID`, `o0`.`Orde"···]

Check failure on line 2168 in test/EFCore.MySql.FunctionalTests/Query/NorthwindMiscellaneousQueryMySqlTest.cs

View workflow job for this annotation

GitHub Actions / BuildAndTest (8.4.3-mysql, windows-latest)

Pomelo.EntityFrameworkCore.MySql.FunctionalTests.Query.NorthwindMiscellaneousQueryMySqlTest.Select_correlated_subquery_ordered(async: True)

Assert.Empty() Failure: Collection was not empty Collection: ["@p='3'\r\n\r\nSELECT `c0`.`CustomerID`, `o0`.`Orde"···]

Check failure on line 2168 in test/EFCore.MySql.FunctionalTests/Query/NorthwindMiscellaneousQueryMySqlTest.cs

View workflow job for this annotation

GitHub Actions / BuildAndTest (8.4.3-mysql, windows-latest)

Pomelo.EntityFrameworkCore.MySql.FunctionalTests.Query.NorthwindMiscellaneousQueryMySqlTest.Select_correlated_subquery_ordered(async: False)

Assert.Empty() Failure: Collection was not empty Collection: ["@p='3'\r\n\r\nSELECT `c0`.`CustomerID`, `o0`.`Orde"···]

Check failure on line 2168 in test/EFCore.MySql.FunctionalTests/Query/NorthwindMiscellaneousQueryMySqlTest.cs

View workflow job for this annotation

GitHub Actions / BuildAndTest (8.0.40-mysql, windows-latest)

Pomelo.EntityFrameworkCore.MySql.FunctionalTests.Query.NorthwindMiscellaneousQueryMySqlTest.Select_correlated_subquery_ordered(async: True)

Assert.Empty() Failure: Collection was not empty Collection: ["@p='3'\r\n\r\nSELECT `c0`.`CustomerID`, `o0`.`Orde"···]

Check failure on line 2168 in test/EFCore.MySql.FunctionalTests/Query/NorthwindMiscellaneousQueryMySqlTest.cs

View workflow job for this annotation

GitHub Actions / BuildAndTest (8.0.40-mysql, windows-latest)

Pomelo.EntityFrameworkCore.MySql.FunctionalTests.Query.NorthwindMiscellaneousQueryMySqlTest.Select_correlated_subquery_ordered(async: False)

Assert.Empty() Failure: Collection was not empty Collection: ["@p='3'\r\n\r\nSELECT `c0`.`CustomerID`, `o0`.`Orde"···]

Check failure on line 2168 in test/EFCore.MySql.FunctionalTests/Query/NorthwindMiscellaneousQueryMySqlTest.cs

View workflow job for this annotation

GitHub Actions / BuildAndTest (8.4.3-mysql, windows-latest)

Pomelo.EntityFrameworkCore.MySql.FunctionalTests.Query.NorthwindMiscellaneousQueryMySqlTest.Select_correlated_subquery_ordered(async: True)

Assert.Empty() Failure: Collection was not empty Collection: ["@p='3'\r\n\r\nSELECT `c0`.`CustomerID`, `o0`.`Orde"···]

Check failure on line 2168 in test/EFCore.MySql.FunctionalTests/Query/NorthwindMiscellaneousQueryMySqlTest.cs

View workflow job for this annotation

GitHub Actions / BuildAndTest (8.4.3-mysql, windows-latest)

Pomelo.EntityFrameworkCore.MySql.FunctionalTests.Query.NorthwindMiscellaneousQueryMySqlTest.Select_correlated_subquery_ordered(async: False)

Assert.Empty() Failure: Collection was not empty Collection: ["@p='3'\r\n\r\nSELECT `c0`.`CustomerID`, `o0`.`Orde"···]
}

public override async Task Select_nested_collection_in_anonymous_type_returning_ordered_queryable(bool async)
Expand Down Expand Up @@ -2204,7 +2204,7 @@
{
await base.Select_subquery_recursive_trivial(async);

AssertSql();

Check failure on line 2207 in test/EFCore.MySql.FunctionalTests/Query/NorthwindMiscellaneousQueryMySqlTest.cs

View workflow job for this annotation

GitHub Actions / BuildAndTest (8.4.3-mysql, ubuntu-latest)

Pomelo.EntityFrameworkCore.MySql.FunctionalTests.Query.NorthwindMiscellaneousQueryMySqlTest.Select_subquery_recursive_trivial(async: False)

Assert.Empty() Failure: Collection was not empty Collection: ["SELECT `e`.`EmployeeID`, `s`.`EmployeeID`, `s`.`Em"···]

Check failure on line 2207 in test/EFCore.MySql.FunctionalTests/Query/NorthwindMiscellaneousQueryMySqlTest.cs

View workflow job for this annotation

GitHub Actions / BuildAndTest (8.4.3-mysql, ubuntu-latest)

Pomelo.EntityFrameworkCore.MySql.FunctionalTests.Query.NorthwindMiscellaneousQueryMySqlTest.Select_subquery_recursive_trivial(async: True)

Assert.Empty() Failure: Collection was not empty Collection: ["SELECT `e`.`EmployeeID`, `s`.`EmployeeID`, `s`.`Em"···]

Check failure on line 2207 in test/EFCore.MySql.FunctionalTests/Query/NorthwindMiscellaneousQueryMySqlTest.cs

View workflow job for this annotation

GitHub Actions / BuildAndTest (8.4.3-mysql, ubuntu-latest)

Pomelo.EntityFrameworkCore.MySql.FunctionalTests.Query.NorthwindMiscellaneousQueryMySqlTest.Select_subquery_recursive_trivial(async: False)

Assert.Empty() Failure: Collection was not empty Collection: ["SELECT `e`.`EmployeeID`, `s`.`EmployeeID`, `s`.`Em"···]

Check failure on line 2207 in test/EFCore.MySql.FunctionalTests/Query/NorthwindMiscellaneousQueryMySqlTest.cs

View workflow job for this annotation

GitHub Actions / BuildAndTest (8.4.3-mysql, ubuntu-latest)

Pomelo.EntityFrameworkCore.MySql.FunctionalTests.Query.NorthwindMiscellaneousQueryMySqlTest.Select_subquery_recursive_trivial(async: True)

Assert.Empty() Failure: Collection was not empty Collection: ["SELECT `e`.`EmployeeID`, `s`.`EmployeeID`, `s`.`Em"···]

Check failure on line 2207 in test/EFCore.MySql.FunctionalTests/Query/NorthwindMiscellaneousQueryMySqlTest.cs

View workflow job for this annotation

GitHub Actions / BuildAndTest (8.0.40-mysql, ubuntu-latest)

Pomelo.EntityFrameworkCore.MySql.FunctionalTests.Query.NorthwindMiscellaneousQueryMySqlTest.Select_subquery_recursive_trivial(async: False)

Assert.Empty() Failure: Collection was not empty Collection: ["SELECT `e`.`EmployeeID`, `s`.`EmployeeID`, `s`.`Em"···]

Check failure on line 2207 in test/EFCore.MySql.FunctionalTests/Query/NorthwindMiscellaneousQueryMySqlTest.cs

View workflow job for this annotation

GitHub Actions / BuildAndTest (8.0.40-mysql, ubuntu-latest)

Pomelo.EntityFrameworkCore.MySql.FunctionalTests.Query.NorthwindMiscellaneousQueryMySqlTest.Select_subquery_recursive_trivial(async: True)

Assert.Empty() Failure: Collection was not empty Collection: ["SELECT `e`.`EmployeeID`, `s`.`EmployeeID`, `s`.`Em"···]

Check failure on line 2207 in test/EFCore.MySql.FunctionalTests/Query/NorthwindMiscellaneousQueryMySqlTest.cs

View workflow job for this annotation

GitHub Actions / BuildAndTest (8.0.40-mysql, ubuntu-latest)

Pomelo.EntityFrameworkCore.MySql.FunctionalTests.Query.NorthwindMiscellaneousQueryMySqlTest.Select_subquery_recursive_trivial(async: False)

Assert.Empty() Failure: Collection was not empty Collection: ["SELECT `e`.`EmployeeID`, `s`.`EmployeeID`, `s`.`Em"···]

Check failure on line 2207 in test/EFCore.MySql.FunctionalTests/Query/NorthwindMiscellaneousQueryMySqlTest.cs

View workflow job for this annotation

GitHub Actions / BuildAndTest (8.0.40-mysql, ubuntu-latest)

Pomelo.EntityFrameworkCore.MySql.FunctionalTests.Query.NorthwindMiscellaneousQueryMySqlTest.Select_subquery_recursive_trivial(async: True)

Assert.Empty() Failure: Collection was not empty Collection: ["SELECT `e`.`EmployeeID`, `s`.`EmployeeID`, `s`.`Em"···]

Check failure on line 2207 in test/EFCore.MySql.FunctionalTests/Query/NorthwindMiscellaneousQueryMySqlTest.cs

View workflow job for this annotation

GitHub Actions / BuildAndTest (8.0.40-mysql, windows-latest)

Pomelo.EntityFrameworkCore.MySql.FunctionalTests.Query.NorthwindMiscellaneousQueryMySqlTest.Select_subquery_recursive_trivial(async: False)

Assert.Empty() Failure: Collection was not empty Collection: ["SELECT `e`.`EmployeeID`, `s`.`EmployeeID`, `s`.`Em"···]

Check failure on line 2207 in test/EFCore.MySql.FunctionalTests/Query/NorthwindMiscellaneousQueryMySqlTest.cs

View workflow job for this annotation

GitHub Actions / BuildAndTest (8.0.40-mysql, windows-latest)

Pomelo.EntityFrameworkCore.MySql.FunctionalTests.Query.NorthwindMiscellaneousQueryMySqlTest.Select_subquery_recursive_trivial(async: True)

Assert.Empty() Failure: Collection was not empty Collection: ["SELECT `e`.`EmployeeID`, `s`.`EmployeeID`, `s`.`Em"···]

Check failure on line 2207 in test/EFCore.MySql.FunctionalTests/Query/NorthwindMiscellaneousQueryMySqlTest.cs

View workflow job for this annotation

GitHub Actions / BuildAndTest (8.4.3-mysql, windows-latest)

Pomelo.EntityFrameworkCore.MySql.FunctionalTests.Query.NorthwindMiscellaneousQueryMySqlTest.Select_subquery_recursive_trivial(async: False)

Assert.Empty() Failure: Collection was not empty Collection: ["SELECT `e`.`EmployeeID`, `s`.`EmployeeID`, `s`.`Em"···]

Check failure on line 2207 in test/EFCore.MySql.FunctionalTests/Query/NorthwindMiscellaneousQueryMySqlTest.cs

View workflow job for this annotation

GitHub Actions / BuildAndTest (8.4.3-mysql, windows-latest)

Pomelo.EntityFrameworkCore.MySql.FunctionalTests.Query.NorthwindMiscellaneousQueryMySqlTest.Select_subquery_recursive_trivial(async: True)

Assert.Empty() Failure: Collection was not empty Collection: ["SELECT `e`.`EmployeeID`, `s`.`EmployeeID`, `s`.`Em"···]

Check failure on line 2207 in test/EFCore.MySql.FunctionalTests/Query/NorthwindMiscellaneousQueryMySqlTest.cs

View workflow job for this annotation

GitHub Actions / BuildAndTest (8.0.40-mysql, windows-latest)

Pomelo.EntityFrameworkCore.MySql.FunctionalTests.Query.NorthwindMiscellaneousQueryMySqlTest.Select_subquery_recursive_trivial(async: False)

Assert.Empty() Failure: Collection was not empty Collection: ["SELECT `e`.`EmployeeID`, `s`.`EmployeeID`, `s`.`Em"···]

Check failure on line 2207 in test/EFCore.MySql.FunctionalTests/Query/NorthwindMiscellaneousQueryMySqlTest.cs

View workflow job for this annotation

GitHub Actions / BuildAndTest (8.0.40-mysql, windows-latest)

Pomelo.EntityFrameworkCore.MySql.FunctionalTests.Query.NorthwindMiscellaneousQueryMySqlTest.Select_subquery_recursive_trivial(async: True)

Assert.Empty() Failure: Collection was not empty Collection: ["SELECT `e`.`EmployeeID`, `s`.`EmployeeID`, `s`.`Em"···]

Check failure on line 2207 in test/EFCore.MySql.FunctionalTests/Query/NorthwindMiscellaneousQueryMySqlTest.cs

View workflow job for this annotation

GitHub Actions / BuildAndTest (8.4.3-mysql, windows-latest)

Pomelo.EntityFrameworkCore.MySql.FunctionalTests.Query.NorthwindMiscellaneousQueryMySqlTest.Select_subquery_recursive_trivial(async: False)

Assert.Empty() Failure: Collection was not empty Collection: ["SELECT `e`.`EmployeeID`, `s`.`EmployeeID`, `s`.`Em"···]

Check failure on line 2207 in test/EFCore.MySql.FunctionalTests/Query/NorthwindMiscellaneousQueryMySqlTest.cs

View workflow job for this annotation

GitHub Actions / BuildAndTest (8.4.3-mysql, windows-latest)

Pomelo.EntityFrameworkCore.MySql.FunctionalTests.Query.NorthwindMiscellaneousQueryMySqlTest.Select_subquery_recursive_trivial(async: True)

Assert.Empty() Failure: Collection was not empty Collection: ["SELECT `e`.`EmployeeID`, `s`.`EmployeeID`, `s`.`Em"···]
}

public override async Task Where_subquery_on_bool(bool async)
Expand Down Expand Up @@ -2767,7 +2767,7 @@
{
await base.SelectMany_correlated_with_Select_value_type_and_DefaultIfEmpty_in_selector(async);

AssertSql();

Check failure on line 2770 in test/EFCore.MySql.FunctionalTests/Query/NorthwindMiscellaneousQueryMySqlTest.cs

View workflow job for this annotation

GitHub Actions / BuildAndTest (8.4.3-mysql, ubuntu-latest)

Pomelo.EntityFrameworkCore.MySql.FunctionalTests.Query.NorthwindMiscellaneousQueryMySqlTest.SelectMany_correlated_with_Select_value_type_and_DefaultIfEmpty_in_selector(async: True)

Assert.Empty() Failure: Collection was not empty Collection: ["SELECT COALESCE(`o0`.`OrderID`, 0)\nFROM `Customer"···]

Check failure on line 2770 in test/EFCore.MySql.FunctionalTests/Query/NorthwindMiscellaneousQueryMySqlTest.cs

View workflow job for this annotation

GitHub Actions / BuildAndTest (8.4.3-mysql, ubuntu-latest)

Pomelo.EntityFrameworkCore.MySql.FunctionalTests.Query.NorthwindMiscellaneousQueryMySqlTest.SelectMany_correlated_with_Select_value_type_and_DefaultIfEmpty_in_selector(async: False)

Assert.Empty() Failure: Collection was not empty Collection: ["SELECT COALESCE(`o0`.`OrderID`, 0)\nFROM `Customer"···]

Check failure on line 2770 in test/EFCore.MySql.FunctionalTests/Query/NorthwindMiscellaneousQueryMySqlTest.cs

View workflow job for this annotation

GitHub Actions / BuildAndTest (8.4.3-mysql, ubuntu-latest)

Pomelo.EntityFrameworkCore.MySql.FunctionalTests.Query.NorthwindMiscellaneousQueryMySqlTest.SelectMany_correlated_with_Select_value_type_and_DefaultIfEmpty_in_selector(async: True)

Assert.Empty() Failure: Collection was not empty Collection: ["SELECT COALESCE(`o0`.`OrderID`, 0)\nFROM `Customer"···]

Check failure on line 2770 in test/EFCore.MySql.FunctionalTests/Query/NorthwindMiscellaneousQueryMySqlTest.cs

View workflow job for this annotation

GitHub Actions / BuildAndTest (8.4.3-mysql, ubuntu-latest)

Pomelo.EntityFrameworkCore.MySql.FunctionalTests.Query.NorthwindMiscellaneousQueryMySqlTest.SelectMany_correlated_with_Select_value_type_and_DefaultIfEmpty_in_selector(async: False)

Assert.Empty() Failure: Collection was not empty Collection: ["SELECT COALESCE(`o0`.`OrderID`, 0)\nFROM `Customer"···]

Check failure on line 2770 in test/EFCore.MySql.FunctionalTests/Query/NorthwindMiscellaneousQueryMySqlTest.cs

View workflow job for this annotation

GitHub Actions / BuildAndTest (8.0.40-mysql, ubuntu-latest)

Pomelo.EntityFrameworkCore.MySql.FunctionalTests.Query.NorthwindMiscellaneousQueryMySqlTest.SelectMany_correlated_with_Select_value_type_and_DefaultIfEmpty_in_selector(async: True)

Assert.Empty() Failure: Collection was not empty Collection: ["SELECT COALESCE(`o0`.`OrderID`, 0)\nFROM `Customer"···]

Check failure on line 2770 in test/EFCore.MySql.FunctionalTests/Query/NorthwindMiscellaneousQueryMySqlTest.cs

View workflow job for this annotation

GitHub Actions / BuildAndTest (8.0.40-mysql, ubuntu-latest)

Pomelo.EntityFrameworkCore.MySql.FunctionalTests.Query.NorthwindMiscellaneousQueryMySqlTest.SelectMany_correlated_with_Select_value_type_and_DefaultIfEmpty_in_selector(async: False)

Assert.Empty() Failure: Collection was not empty Collection: ["SELECT COALESCE(`o0`.`OrderID`, 0)\nFROM `Customer"···]

Check failure on line 2770 in test/EFCore.MySql.FunctionalTests/Query/NorthwindMiscellaneousQueryMySqlTest.cs

View workflow job for this annotation

GitHub Actions / BuildAndTest (8.0.40-mysql, ubuntu-latest)

Pomelo.EntityFrameworkCore.MySql.FunctionalTests.Query.NorthwindMiscellaneousQueryMySqlTest.SelectMany_correlated_with_Select_value_type_and_DefaultIfEmpty_in_selector(async: True)

Assert.Empty() Failure: Collection was not empty Collection: ["SELECT COALESCE(`o0`.`OrderID`, 0)\nFROM `Customer"···]

Check failure on line 2770 in test/EFCore.MySql.FunctionalTests/Query/NorthwindMiscellaneousQueryMySqlTest.cs

View workflow job for this annotation

GitHub Actions / BuildAndTest (8.0.40-mysql, ubuntu-latest)

Pomelo.EntityFrameworkCore.MySql.FunctionalTests.Query.NorthwindMiscellaneousQueryMySqlTest.SelectMany_correlated_with_Select_value_type_and_DefaultIfEmpty_in_selector(async: False)

Assert.Empty() Failure: Collection was not empty Collection: ["SELECT COALESCE(`o0`.`OrderID`, 0)\nFROM `Customer"···]

Check failure on line 2770 in test/EFCore.MySql.FunctionalTests/Query/NorthwindMiscellaneousQueryMySqlTest.cs

View workflow job for this annotation

GitHub Actions / BuildAndTest (8.0.40-mysql, windows-latest)

Pomelo.EntityFrameworkCore.MySql.FunctionalTests.Query.NorthwindMiscellaneousQueryMySqlTest.SelectMany_correlated_with_Select_value_type_and_DefaultIfEmpty_in_selector(async: True)

Assert.Empty() Failure: Collection was not empty Collection: ["SELECT COALESCE(`o0`.`OrderID`, 0)\r\nFROM `Custom"···]

Check failure on line 2770 in test/EFCore.MySql.FunctionalTests/Query/NorthwindMiscellaneousQueryMySqlTest.cs

View workflow job for this annotation

GitHub Actions / BuildAndTest (8.0.40-mysql, windows-latest)

Pomelo.EntityFrameworkCore.MySql.FunctionalTests.Query.NorthwindMiscellaneousQueryMySqlTest.SelectMany_correlated_with_Select_value_type_and_DefaultIfEmpty_in_selector(async: False)

Assert.Empty() Failure: Collection was not empty Collection: ["SELECT COALESCE(`o0`.`OrderID`, 0)\r\nFROM `Custom"···]

Check failure on line 2770 in test/EFCore.MySql.FunctionalTests/Query/NorthwindMiscellaneousQueryMySqlTest.cs

View workflow job for this annotation

GitHub Actions / BuildAndTest (8.4.3-mysql, windows-latest)

Pomelo.EntityFrameworkCore.MySql.FunctionalTests.Query.NorthwindMiscellaneousQueryMySqlTest.SelectMany_correlated_with_Select_value_type_and_DefaultIfEmpty_in_selector(async: True)

Assert.Empty() Failure: Collection was not empty Collection: ["SELECT COALESCE(`o0`.`OrderID`, 0)\r\nFROM `Custom"···]

Check failure on line 2770 in test/EFCore.MySql.FunctionalTests/Query/NorthwindMiscellaneousQueryMySqlTest.cs

View workflow job for this annotation

GitHub Actions / BuildAndTest (8.4.3-mysql, windows-latest)

Pomelo.EntityFrameworkCore.MySql.FunctionalTests.Query.NorthwindMiscellaneousQueryMySqlTest.SelectMany_correlated_with_Select_value_type_and_DefaultIfEmpty_in_selector(async: False)

Assert.Empty() Failure: Collection was not empty Collection: ["SELECT COALESCE(`o0`.`OrderID`, 0)\r\nFROM `Custom"···]

Check failure on line 2770 in test/EFCore.MySql.FunctionalTests/Query/NorthwindMiscellaneousQueryMySqlTest.cs

View workflow job for this annotation

GitHub Actions / BuildAndTest (8.0.40-mysql, windows-latest)

Pomelo.EntityFrameworkCore.MySql.FunctionalTests.Query.NorthwindMiscellaneousQueryMySqlTest.SelectMany_correlated_with_Select_value_type_and_DefaultIfEmpty_in_selector(async: True)

Assert.Empty() Failure: Collection was not empty Collection: ["SELECT COALESCE(`o0`.`OrderID`, 0)\r\nFROM `Custom"···]

Check failure on line 2770 in test/EFCore.MySql.FunctionalTests/Query/NorthwindMiscellaneousQueryMySqlTest.cs

View workflow job for this annotation

GitHub Actions / BuildAndTest (8.0.40-mysql, windows-latest)

Pomelo.EntityFrameworkCore.MySql.FunctionalTests.Query.NorthwindMiscellaneousQueryMySqlTest.SelectMany_correlated_with_Select_value_type_and_DefaultIfEmpty_in_selector(async: False)

Assert.Empty() Failure: Collection was not empty Collection: ["SELECT COALESCE(`o0`.`OrderID`, 0)\r\nFROM `Custom"···]

Check failure on line 2770 in test/EFCore.MySql.FunctionalTests/Query/NorthwindMiscellaneousQueryMySqlTest.cs

View workflow job for this annotation

GitHub Actions / BuildAndTest (8.4.3-mysql, windows-latest)

Pomelo.EntityFrameworkCore.MySql.FunctionalTests.Query.NorthwindMiscellaneousQueryMySqlTest.SelectMany_correlated_with_Select_value_type_and_DefaultIfEmpty_in_selector(async: True)

Assert.Empty() Failure: Collection was not empty Collection: ["SELECT COALESCE(`o0`.`OrderID`, 0)\r\nFROM `Custom"···]

Check failure on line 2770 in test/EFCore.MySql.FunctionalTests/Query/NorthwindMiscellaneousQueryMySqlTest.cs

View workflow job for this annotation

GitHub Actions / BuildAndTest (8.4.3-mysql, windows-latest)

Pomelo.EntityFrameworkCore.MySql.FunctionalTests.Query.NorthwindMiscellaneousQueryMySqlTest.SelectMany_correlated_with_Select_value_type_and_DefaultIfEmpty_in_selector(async: False)

Assert.Empty() Failure: Collection was not empty Collection: ["SELECT COALESCE(`o0`.`OrderID`, 0)\r\nFROM `Custom"···]
}

public override async Task SelectMany_correlated_subquery_hard(bool async)
Expand Down Expand Up @@ -4588,7 +4588,7 @@
{
await base.DefaultIfEmpty_in_subquery_nested_filter_order_comparison(async);

AssertSql();

Check failure on line 4591 in test/EFCore.MySql.FunctionalTests/Query/NorthwindMiscellaneousQueryMySqlTest.cs

View workflow job for this annotation

GitHub Actions / BuildAndTest (8.4.3-mysql, ubuntu-latest)

Pomelo.EntityFrameworkCore.MySql.FunctionalTests.Query.NorthwindMiscellaneousQueryMySqlTest.DefaultIfEmpty_in_subquery_nested_filter_order_comparison(async: True)

Assert.Empty() Failure: Collection was not empty Collection: ["SELECT `c`.`CustomerID`, `s`.`OrderID`, `o2`.`Orde"···]

Check failure on line 4591 in test/EFCore.MySql.FunctionalTests/Query/NorthwindMiscellaneousQueryMySqlTest.cs

View workflow job for this annotation

GitHub Actions / BuildAndTest (8.4.3-mysql, ubuntu-latest)

Pomelo.EntityFrameworkCore.MySql.FunctionalTests.Query.NorthwindMiscellaneousQueryMySqlTest.DefaultIfEmpty_in_subquery_nested_filter_order_comparison(async: False)

Assert.Empty() Failure: Collection was not empty Collection: ["SELECT `c`.`CustomerID`, `s`.`OrderID`, `o2`.`Orde"···]

Check failure on line 4591 in test/EFCore.MySql.FunctionalTests/Query/NorthwindMiscellaneousQueryMySqlTest.cs

View workflow job for this annotation

GitHub Actions / BuildAndTest (8.4.3-mysql, ubuntu-latest)

Pomelo.EntityFrameworkCore.MySql.FunctionalTests.Query.NorthwindMiscellaneousQueryMySqlTest.DefaultIfEmpty_in_subquery_nested_filter_order_comparison(async: True)

Assert.Empty() Failure: Collection was not empty Collection: ["SELECT `c`.`CustomerID`, `s`.`OrderID`, `o2`.`Orde"···]

Check failure on line 4591 in test/EFCore.MySql.FunctionalTests/Query/NorthwindMiscellaneousQueryMySqlTest.cs

View workflow job for this annotation

GitHub Actions / BuildAndTest (8.4.3-mysql, ubuntu-latest)

Pomelo.EntityFrameworkCore.MySql.FunctionalTests.Query.NorthwindMiscellaneousQueryMySqlTest.DefaultIfEmpty_in_subquery_nested_filter_order_comparison(async: False)

Assert.Empty() Failure: Collection was not empty Collection: ["SELECT `c`.`CustomerID`, `s`.`OrderID`, `o2`.`Orde"···]

Check failure on line 4591 in test/EFCore.MySql.FunctionalTests/Query/NorthwindMiscellaneousQueryMySqlTest.cs

View workflow job for this annotation

GitHub Actions / BuildAndTest (8.0.40-mysql, ubuntu-latest)

Pomelo.EntityFrameworkCore.MySql.FunctionalTests.Query.NorthwindMiscellaneousQueryMySqlTest.DefaultIfEmpty_in_subquery_nested_filter_order_comparison(async: True)

Assert.Empty() Failure: Collection was not empty Collection: ["SELECT `c`.`CustomerID`, `s`.`OrderID`, `o2`.`Orde"···]

Check failure on line 4591 in test/EFCore.MySql.FunctionalTests/Query/NorthwindMiscellaneousQueryMySqlTest.cs

View workflow job for this annotation

GitHub Actions / BuildAndTest (8.0.40-mysql, ubuntu-latest)

Pomelo.EntityFrameworkCore.MySql.FunctionalTests.Query.NorthwindMiscellaneousQueryMySqlTest.DefaultIfEmpty_in_subquery_nested_filter_order_comparison(async: False)

Assert.Empty() Failure: Collection was not empty Collection: ["SELECT `c`.`CustomerID`, `s`.`OrderID`, `o2`.`Orde"···]

Check failure on line 4591 in test/EFCore.MySql.FunctionalTests/Query/NorthwindMiscellaneousQueryMySqlTest.cs

View workflow job for this annotation

GitHub Actions / BuildAndTest (8.0.40-mysql, ubuntu-latest)

Pomelo.EntityFrameworkCore.MySql.FunctionalTests.Query.NorthwindMiscellaneousQueryMySqlTest.DefaultIfEmpty_in_subquery_nested_filter_order_comparison(async: True)

Assert.Empty() Failure: Collection was not empty Collection: ["SELECT `c`.`CustomerID`, `s`.`OrderID`, `o2`.`Orde"···]

Check failure on line 4591 in test/EFCore.MySql.FunctionalTests/Query/NorthwindMiscellaneousQueryMySqlTest.cs

View workflow job for this annotation

GitHub Actions / BuildAndTest (8.0.40-mysql, ubuntu-latest)

Pomelo.EntityFrameworkCore.MySql.FunctionalTests.Query.NorthwindMiscellaneousQueryMySqlTest.DefaultIfEmpty_in_subquery_nested_filter_order_comparison(async: False)

Assert.Empty() Failure: Collection was not empty Collection: ["SELECT `c`.`CustomerID`, `s`.`OrderID`, `o2`.`Orde"···]

Check failure on line 4591 in test/EFCore.MySql.FunctionalTests/Query/NorthwindMiscellaneousQueryMySqlTest.cs

View workflow job for this annotation

GitHub Actions / BuildAndTest (8.0.40-mysql, windows-latest)

Pomelo.EntityFrameworkCore.MySql.FunctionalTests.Query.NorthwindMiscellaneousQueryMySqlTest.DefaultIfEmpty_in_subquery_nested_filter_order_comparison(async: True)

Assert.Empty() Failure: Collection was not empty Collection: ["SELECT `c`.`CustomerID`, `s`.`OrderID`, `o2`.`Orde"···]

Check failure on line 4591 in test/EFCore.MySql.FunctionalTests/Query/NorthwindMiscellaneousQueryMySqlTest.cs

View workflow job for this annotation

GitHub Actions / BuildAndTest (8.0.40-mysql, windows-latest)

Pomelo.EntityFrameworkCore.MySql.FunctionalTests.Query.NorthwindMiscellaneousQueryMySqlTest.DefaultIfEmpty_in_subquery_nested_filter_order_comparison(async: False)

Assert.Empty() Failure: Collection was not empty Collection: ["SELECT `c`.`CustomerID`, `s`.`OrderID`, `o2`.`Orde"···]

Check failure on line 4591 in test/EFCore.MySql.FunctionalTests/Query/NorthwindMiscellaneousQueryMySqlTest.cs

View workflow job for this annotation

GitHub Actions / BuildAndTest (8.4.3-mysql, windows-latest)

Pomelo.EntityFrameworkCore.MySql.FunctionalTests.Query.NorthwindMiscellaneousQueryMySqlTest.DefaultIfEmpty_in_subquery_nested_filter_order_comparison(async: True)

Assert.Empty() Failure: Collection was not empty Collection: ["SELECT `c`.`CustomerID`, `s`.`OrderID`, `o2`.`Orde"···]

Check failure on line 4591 in test/EFCore.MySql.FunctionalTests/Query/NorthwindMiscellaneousQueryMySqlTest.cs

View workflow job for this annotation

GitHub Actions / BuildAndTest (8.4.3-mysql, windows-latest)

Pomelo.EntityFrameworkCore.MySql.FunctionalTests.Query.NorthwindMiscellaneousQueryMySqlTest.DefaultIfEmpty_in_subquery_nested_filter_order_comparison(async: False)

Assert.Empty() Failure: Collection was not empty Collection: ["SELECT `c`.`CustomerID`, `s`.`OrderID`, `o2`.`Orde"···]

Check failure on line 4591 in test/EFCore.MySql.FunctionalTests/Query/NorthwindMiscellaneousQueryMySqlTest.cs

View workflow job for this annotation

GitHub Actions / BuildAndTest (8.0.40-mysql, windows-latest)

Pomelo.EntityFrameworkCore.MySql.FunctionalTests.Query.NorthwindMiscellaneousQueryMySqlTest.DefaultIfEmpty_in_subquery_nested_filter_order_comparison(async: True)

Assert.Empty() Failure: Collection was not empty Collection: ["SELECT `c`.`CustomerID`, `s`.`OrderID`, `o2`.`Orde"···]

Check failure on line 4591 in test/EFCore.MySql.FunctionalTests/Query/NorthwindMiscellaneousQueryMySqlTest.cs

View workflow job for this annotation

GitHub Actions / BuildAndTest (8.0.40-mysql, windows-latest)

Pomelo.EntityFrameworkCore.MySql.FunctionalTests.Query.NorthwindMiscellaneousQueryMySqlTest.DefaultIfEmpty_in_subquery_nested_filter_order_comparison(async: False)

Assert.Empty() Failure: Collection was not empty Collection: ["SELECT `c`.`CustomerID`, `s`.`OrderID`, `o2`.`Orde"···]

Check failure on line 4591 in test/EFCore.MySql.FunctionalTests/Query/NorthwindMiscellaneousQueryMySqlTest.cs

View workflow job for this annotation

GitHub Actions / BuildAndTest (8.4.3-mysql, windows-latest)

Pomelo.EntityFrameworkCore.MySql.FunctionalTests.Query.NorthwindMiscellaneousQueryMySqlTest.DefaultIfEmpty_in_subquery_nested_filter_order_comparison(async: True)

Assert.Empty() Failure: Collection was not empty Collection: ["SELECT `c`.`CustomerID`, `s`.`OrderID`, `o2`.`Orde"···]

Check failure on line 4591 in test/EFCore.MySql.FunctionalTests/Query/NorthwindMiscellaneousQueryMySqlTest.cs

View workflow job for this annotation

GitHub Actions / BuildAndTest (8.4.3-mysql, windows-latest)

Pomelo.EntityFrameworkCore.MySql.FunctionalTests.Query.NorthwindMiscellaneousQueryMySqlTest.DefaultIfEmpty_in_subquery_nested_filter_order_comparison(async: False)

Assert.Empty() Failure: Collection was not empty Collection: ["SELECT `c`.`CustomerID`, `s`.`OrderID`, `o2`.`Orde"···]
}

public override async Task OrderBy_skip_take(bool async)
Expand Down Expand Up @@ -6651,32 +6651,63 @@
{
await base.Skip_0_Take_0_works_when_parameter(async);

AssertSql(
"""
if (AppConfig.ServerVersion.Supports.MySqlBugLimit0Offset0ExistsWorkaround)
{
AssertSql(
"""
SELECT `c`.`CustomerID`, `c`.`Address`, `c`.`City`, `c`.`CompanyName`, `c`.`ContactName`, `c`.`ContactTitle`, `c`.`Country`, `c`.`Fax`, `c`.`Phone`, `c`.`PostalCode`, `c`.`Region`
FROM `Customers` AS `c`
WHERE FALSE
""",
//
"""
@p='1'

SELECT `c`.`CustomerID`, `c`.`Address`, `c`.`City`, `c`.`CompanyName`, `c`.`ContactName`, `c`.`ContactTitle`, `c`.`Country`, `c`.`Fax`, `c`.`Phone`, `c`.`PostalCode`, `c`.`Region`
FROM `Customers` AS `c`
ORDER BY `c`.`CustomerID`
LIMIT @p OFFSET @p
""");
}
else
{
AssertSql(
"""
@p='0'

SELECT `c`.`CustomerID`, `c`.`Address`, `c`.`City`, `c`.`CompanyName`, `c`.`ContactName`, `c`.`ContactTitle`, `c`.`Country`, `c`.`Fax`, `c`.`Phone`, `c`.`PostalCode`, `c`.`Region`
FROM `Customers` AS `c`
ORDER BY `c`.`CustomerID`
LIMIT @p OFFSET @p
""",
//
"""
//
"""
@p='1'

SELECT `c`.`CustomerID`, `c`.`Address`, `c`.`City`, `c`.`CompanyName`, `c`.`ContactName`, `c`.`ContactTitle`, `c`.`Country`, `c`.`Fax`, `c`.`Phone`, `c`.`PostalCode`, `c`.`Region`
FROM `Customers` AS `c`
ORDER BY `c`.`CustomerID`
LIMIT @p OFFSET @p
""");
}
}

public override async Task Skip_0_Take_0_works_when_constant(bool async)
{
await base.Skip_0_Take_0_works_when_constant(async);

AssertSql(
"""
AppConfig.ServerVersion.Supports.MySqlBugLimit0Offset0ExistsWorkaround
? """
SELECT EXISTS (
SELECT 1
FROM `Orders` AS `o`
WHERE FALSE)
FROM `Customers` AS `c`
WHERE `c`.`CustomerID` LIKE 'F%'
ORDER BY `c`.`CustomerID`
"""
: """
SELECT EXISTS (
SELECT 1
FROM `Orders` AS `o`
Expand Down
Loading