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
1 change: 1 addition & 0 deletions src/EFCore.MySql/Infrastructure/MariaDbServerVersion.cs
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,7 @@ internal MariaDbServerVersionSupport([NotNull] ServerVersion serverVersion)
public override bool WhereSubqueryReferencesOuterQuery => false;
public override bool FieldReferenceInTableValueConstructor => false;
public override bool CollationCharacterSetApplicabilityWithFullCollationNameColumn => ServerVersion.Version >= new Version(10, 10, 1);
public override bool DeleteWithSelfReferencingSubquery => ServerVersion.Version >= new Version(11, 0, 0); // MariaDB 11+ supports DELETE with self-referencing subqueries

public override bool JsonTableImplementationStable => false;
public override bool JsonTableImplementationWithoutMariaDbBugs => false;
Expand Down
1 change: 1 addition & 0 deletions src/EFCore.MySql/Infrastructure/MySqlServerVersion.cs
Original file line number Diff line number Diff line change
Expand Up @@ -101,6 +101,7 @@ internal MySqlServerVersionSupport([NotNull] ServerVersion serverVersion)
public override bool WhereSubqueryReferencesOuterQuery => false;
public override bool FieldReferenceInTableValueConstructor => true;
public override bool CollationCharacterSetApplicabilityWithFullCollationNameColumn => false;
public override bool DeleteWithSelfReferencingSubquery => false; // MySQL does not support DELETE with self-referencing subqueries (Error 1093)

public override bool JsonTableImplementationStable => false;
public override bool JsonTableImplementationWithoutMySqlBugs => false; // Other non-fatal bugs regarding JSON_TABLE.
Expand Down
1 change: 1 addition & 0 deletions src/EFCore.MySql/Infrastructure/ServerVersionSupport.cs
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,7 @@ public virtual bool PropertyOrVersion(string propertyNameOrServerVersion)
public virtual bool WhereSubqueryReferencesOuterQuery => false;
public virtual bool FieldReferenceInTableValueConstructor => false;
public virtual bool CollationCharacterSetApplicabilityWithFullCollationNameColumn => false;
public virtual bool DeleteWithSelfReferencingSubquery => false;

public virtual bool JsonTableImplementationStable => JsonTable;
public virtual bool JsonTableImplementationWithoutMySqlBugs => JsonTable;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@

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

Check failure on line 79 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_Where_OrderBy(async: True)

MySqlConnector.MySqlException : Table 'o' is specified twice, both as a target for 'DELETE' and as a separate source for data

Check failure on line 79 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_Where_OrderBy(async: False)

MySqlConnector.MySqlException : Table 'o' is specified twice, both as a target for 'DELETE' and as a separate source for data

Check failure on line 79 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_Where_OrderBy(async: True)

MySqlConnector.MySqlException : Table 'o' is specified twice, both as a target for 'DELETE' and as a separate source for data

Check failure on line 79 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_Where_OrderBy(async: False)

MySqlConnector.MySqlException : Table 'o' is specified twice, both as a target for 'DELETE' and as a separate source for data

Check failure on line 79 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_Where_OrderBy(async: True)

MySqlConnector.MySqlException : Table 'o' is specified twice, both as a target for 'DELETE' and as a separate source for data

Check failure on line 79 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_Where_OrderBy(async: False)

MySqlConnector.MySqlException : Table 'o' is specified twice, both as a target for 'DELETE' and as a separate source for data

Check failure on line 79 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_Where_OrderBy(async: True)

MySqlConnector.MySqlException : Table 'o' is specified twice, both as a target for 'DELETE' and as a separate source for data

Check failure on line 79 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_Where_OrderBy(async: False)

MySqlConnector.MySqlException : Table 'o' is specified twice, both as a target for 'DELETE' and as a separate source for data

Check failure on line 79 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_Where_OrderBy(async: True)

MySqlConnector.MySqlException : Table 'o' is specified twice, both as a target for 'DELETE' and as a separate source for data

Check failure on line 79 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_Where_OrderBy(async: False)

MySqlConnector.MySqlException : Table 'o' is specified twice, both as a target for 'DELETE' and as a separate source for data

Check failure on line 79 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_Where_OrderBy(async: True)

MySqlConnector.MySqlException : Table 'o' is specified twice, both as a target for 'DELETE' and as a separate source for data

Check failure on line 79 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_Where_OrderBy(async: False)

MySqlConnector.MySqlException : Table 'o' is specified twice, both as a target for 'DELETE' and as a separate source for data

Check failure on line 79 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_Where_OrderBy(async: True)

MySqlConnector.MySqlException : Table 'o' is specified twice, both as a target for 'DELETE' and as a separate source for data

Check failure on line 79 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_Where_OrderBy(async: False)

MySqlConnector.MySqlException : Table 'o' is specified twice, both as a target for 'DELETE' and as a separate source for data

Check failure on line 79 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_Where_OrderBy(async: True)

MySqlConnector.MySqlException : Table 'o' is specified twice, both as a target for 'DELETE' and as a separate source for data

Check failure on line 79 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_Where_OrderBy(async: False)

MySqlConnector.MySqlException : Table 'o' is specified twice, both as a target for 'DELETE' and as a separate source for data

Check failure on line 79 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_Where_OrderBy(async: True)

MySqlConnector.MySqlException : Table 'o' is specified twice, both as a target for 'DELETE' and as a separate source for data

Check failure on line 79 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_Where_OrderBy(async: False)

MySqlConnector.MySqlException : Table 'o' is specified twice, both as a target for 'DELETE' and as a separate source for data

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

View workflow job for this annotation

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

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

MySqlConnector.MySqlException : You can't specify target table 'o' for update in FROM clause

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

View workflow job for this annotation

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

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

MySqlConnector.MySqlException : You can't specify target table 'o' for update in FROM clause

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

View workflow job for this annotation

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

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

MySqlConnector.MySqlException : You can't specify target table 'o' for update in FROM clause

Check failure on line 79 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_Where_OrderBy(async: True)

MySqlConnector.MySqlException : Table 'o' is specified twice, both as a target for 'DELETE' and as a separate source for data

Check failure on line 79 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_Where_OrderBy(async: False)

MySqlConnector.MySqlException : Table 'o' is specified twice, both as a target for 'DELETE' and as a separate source for data

Check failure on line 79 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_Where_OrderBy(async: True)

MySqlConnector.MySqlException : Table 'o' is specified twice, both as a target for 'DELETE' and as a separate source for data

Check failure on line 79 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_Where_OrderBy(async: False)

MySqlConnector.MySqlException : Table 'o' is specified twice, both as a target for 'DELETE' and as a separate source for data

Check failure on line 79 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_Where_OrderBy(async: True)

MySqlConnector.MySqlException : Table 'o' is specified twice, both as a target for 'DELETE' and as a separate source for data

Check failure on line 79 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_Where_OrderBy(async: False)

MySqlConnector.MySqlException : Table 'o' is specified twice, both as a target for 'DELETE' and as a separate source for data

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

View workflow job for this annotation

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

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

MySqlConnector.MySqlException : You can't specify target table 'o' for update in FROM clause

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

View workflow job for this annotation

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

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

MySqlConnector.MySqlException : You can't specify target table 'o' for update in FROM clause

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

View workflow job for this annotation

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

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

MySqlConnector.MySqlException : You can't specify target table 'o' for update in FROM clause

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

View workflow job for this annotation

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

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

MySqlConnector.MySqlException : You can't specify target table 'o' for update in FROM clause

Check failure on line 79 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_Where_OrderBy(async: True)

MySqlConnector.MySqlException : Table 'o' is specified twice, both as a target for 'DELETE' and as a separate source for data

Check failure on line 79 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_Where_OrderBy(async: False)

MySqlConnector.MySqlException : Table 'o' is specified twice, both as a target for 'DELETE' and as a separate source for data

Check failure on line 79 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_Where_OrderBy(async: True)

MySqlConnector.MySqlException : Table 'o' is specified twice, both as a target for 'DELETE' and as a separate source for data

Check failure on line 79 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_Where_OrderBy(async: False)

MySqlConnector.MySqlException : Table 'o' is specified twice, both as a target for 'DELETE' and as a separate source for data

Check failure on line 79 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_Where_OrderBy(async: True)

MySqlConnector.MySqlException : Table 'o' is specified twice, both as a target for 'DELETE' and as a separate source for data

Check failure on line 79 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_Where_OrderBy(async: False)

MySqlConnector.MySqlException : Table 'o' is specified twice, both as a target for 'DELETE' and as a separate source for data

Check failure on line 79 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_Where_OrderBy(async: True)

MySqlConnector.MySqlException : Table 'o' is specified twice, both as a target for 'DELETE' and as a separate source for data

Check failure on line 79 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_Where_OrderBy(async: False)

MySqlConnector.MySqlException : Table 'o' is specified twice, both as a target for 'DELETE' and as a separate source for data

Check failure on line 79 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_Where_OrderBy(async: True)

MySqlConnector.MySqlException : Table 'o' is specified twice, both as a target for 'DELETE' and as a separate source for data

Check failure on line 79 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_Where_OrderBy(async: False)

MySqlConnector.MySqlException : Table 'o' is specified twice, both as a target for 'DELETE' and as a separate source for data

Check failure on line 79 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_Where_OrderBy(async: True)

MySqlConnector.MySqlException : Table 'o' is specified twice, both as a target for 'DELETE' and as a separate source for data

Check failure on line 79 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_Where_OrderBy(async: False)

MySqlConnector.MySqlException : Table 'o' is specified twice, both as a target for 'DELETE' and as a separate source for data

AssertSql(
"""
Expand Down Expand Up @@ -369,7 +369,7 @@

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

Check failure on line 372 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_Where_using_navigation_2(async: True)

MySqlConnector.MySqlException : Table 'o' is specified twice, both as a target for 'DELETE' and as a separate source for data

Check failure on line 372 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_Where_using_navigation_2(async: False)

MySqlConnector.MySqlException : Table 'o' is specified twice, both as a target for 'DELETE' and as a separate source for data

Check failure on line 372 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_Where_using_navigation_2(async: True)

MySqlConnector.MySqlException : Table 'o' is specified twice, both as a target for 'DELETE' and as a separate source for data

Check failure on line 372 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_Where_using_navigation_2(async: False)

MySqlConnector.MySqlException : Table 'o' is specified twice, both as a target for 'DELETE' and as a separate source for data

Check failure on line 372 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_Where_using_navigation_2(async: True)

MySqlConnector.MySqlException : Table 'o' is specified twice, both as a target for 'DELETE' and as a separate source for data

Check failure on line 372 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_Where_using_navigation_2(async: False)

MySqlConnector.MySqlException : Table 'o' is specified twice, both as a target for 'DELETE' and as a separate source for data

Check failure on line 372 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_Where_using_navigation_2(async: True)

MySqlConnector.MySqlException : Table 'o' is specified twice, both as a target for 'DELETE' and as a separate source for data

Check failure on line 372 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_Where_using_navigation_2(async: False)

MySqlConnector.MySqlException : Table 'o' is specified twice, both as a target for 'DELETE' and as a separate source for data

Check failure on line 372 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_Where_using_navigation_2(async: True)

MySqlConnector.MySqlException : Table 'o' is specified twice, both as a target for 'DELETE' and as a separate source for data

Check failure on line 372 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_Where_using_navigation_2(async: False)

MySqlConnector.MySqlException : Table 'o' is specified twice, both as a target for 'DELETE' and as a separate source for data

Check failure on line 372 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_Where_using_navigation_2(async: True)

MySqlConnector.MySqlException : Table 'o' is specified twice, both as a target for 'DELETE' and as a separate source for data

Check failure on line 372 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_Where_using_navigation_2(async: False)

MySqlConnector.MySqlException : Table 'o' is specified twice, both as a target for 'DELETE' and as a separate source for data

Check failure on line 372 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_Where_using_navigation_2(async: True)

MySqlConnector.MySqlException : Table 'o' is specified twice, both as a target for 'DELETE' and as a separate source for data

Check failure on line 372 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_Where_using_navigation_2(async: False)

MySqlConnector.MySqlException : Table 'o' is specified twice, both as a target for 'DELETE' and as a separate source for data

Check failure on line 372 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_Where_using_navigation_2(async: True)

MySqlConnector.MySqlException : Table 'o' is specified twice, both as a target for 'DELETE' and as a separate source for data

Check failure on line 372 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_Where_using_navigation_2(async: False)

MySqlConnector.MySqlException : Table 'o' is specified twice, both as a target for 'DELETE' and as a separate source for data

Check failure on line 372 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_Where_using_navigation_2(async: True)

MySqlConnector.MySqlException : Table 'o' is specified twice, both as a target for 'DELETE' and as a separate source for data

Check failure on line 372 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_Where_using_navigation_2(async: False)

MySqlConnector.MySqlException : Table 'o' is specified twice, both as a target for 'DELETE' and as a separate source for data

Check failure on line 372 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_Where_using_navigation_2(async: True)

MySqlConnector.MySqlException : Table 'o' is specified twice, both as a target for 'DELETE' and as a separate source for data

Check failure on line 372 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_Where_using_navigation_2(async: False)

MySqlConnector.MySqlException : Table 'o' is specified twice, both as a target for 'DELETE' and as a separate source for data

Check failure on line 372 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_Where_using_navigation_2(async: True)

MySqlConnector.MySqlException : Table 'o' is specified twice, both as a target for 'DELETE' and as a separate source for data

Check failure on line 372 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_Where_using_navigation_2(async: False)

MySqlConnector.MySqlException : Table 'o' is specified twice, both as a target for 'DELETE' and as a separate source for data

Check failure on line 372 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_Where_using_navigation_2(async: True)

MySqlConnector.MySqlException : Table 'o' is specified twice, both as a target for 'DELETE' and as a separate source for data

Check failure on line 372 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_Where_using_navigation_2(async: False)

MySqlConnector.MySqlException : Table 'o' is specified twice, both as a target for 'DELETE' and as a separate source for data

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

View workflow job for this annotation

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

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

MySqlConnector.MySqlException : You can't specify target table 'o' for update in FROM clause

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

View workflow job for this annotation

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

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

MySqlConnector.MySqlException : You can't specify target table 'o' for update in FROM clause

Check failure on line 372 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_Where_using_navigation_2(async: True)

MySqlConnector.MySqlException : Table 'o' is specified twice, both as a target for 'DELETE' and as a separate source for data

Check failure on line 372 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_Where_using_navigation_2(async: False)

MySqlConnector.MySqlException : Table 'o' is specified twice, both as a target for 'DELETE' and as a separate source for data

Check failure on line 372 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_Where_using_navigation_2(async: True)

MySqlConnector.MySqlException : Table 'o' is specified twice, both as a target for 'DELETE' and as a separate source for data

Check failure on line 372 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_Where_using_navigation_2(async: False)

MySqlConnector.MySqlException : Table 'o' is specified twice, both as a target for 'DELETE' and as a separate source for data

Check failure on line 372 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_Where_using_navigation_2(async: True)

MySqlConnector.MySqlException : Table 'o' is specified twice, both as a target for 'DELETE' and as a separate source for data

Check failure on line 372 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_Where_using_navigation_2(async: False)

MySqlConnector.MySqlException : Table 'o' is specified twice, both as a target for 'DELETE' and as a separate source for data

Check failure on line 372 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_Where_using_navigation_2(async: True)

MySqlConnector.MySqlException : Table 'o' is specified twice, both as a target for 'DELETE' and as a separate source for data

Check failure on line 372 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_Where_using_navigation_2(async: False)

MySqlConnector.MySqlException : Table 'o' is specified twice, both as a target for 'DELETE' and as a separate source for data

Check failure on line 372 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_Where_using_navigation_2(async: True)

MySqlConnector.MySqlException : Table 'o' is specified twice, both as a target for 'DELETE' and as a separate source for data

Check failure on line 372 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_Where_using_navigation_2(async: False)

MySqlConnector.MySqlException : Table 'o' is specified twice, both as a target for 'DELETE' and as a separate source for data

Check failure on line 372 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_Where_using_navigation_2(async: True)

MySqlConnector.MySqlException : Table 'o' is specified twice, both as a target for 'DELETE' and as a separate source for data

Check failure on line 372 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_Where_using_navigation_2(async: False)

MySqlConnector.MySqlException : Table 'o' is specified twice, both as a target for 'DELETE' and as a separate source for data
AssertSql(
"""
DELETE `o`
Expand Down Expand Up @@ -517,7 +517,7 @@

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

Check failure on line 520 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_Where_optional_navigation_predicate(async: True)

MySqlConnector.MySqlException : Table 'o' is specified twice, both as a target for 'DELETE' and as a separate source for data

Check failure on line 520 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_Where_optional_navigation_predicate(async: False)

MySqlConnector.MySqlException : Table 'o' is specified twice, both as a target for 'DELETE' and as a separate source for data

Check failure on line 520 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_Where_optional_navigation_predicate(async: True)

MySqlConnector.MySqlException : Table 'o' is specified twice, both as a target for 'DELETE' and as a separate source for data

Check failure on line 520 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_Where_optional_navigation_predicate(async: False)

MySqlConnector.MySqlException : Table 'o' is specified twice, both as a target for 'DELETE' and as a separate source for data

Check failure on line 520 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_Where_optional_navigation_predicate(async: True)

MySqlConnector.MySqlException : Table 'o' is specified twice, both as a target for 'DELETE' and as a separate source for data

Check failure on line 520 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_Where_optional_navigation_predicate(async: False)

MySqlConnector.MySqlException : Table 'o' is specified twice, both as a target for 'DELETE' and as a separate source for data

Check failure on line 520 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_Where_optional_navigation_predicate(async: True)

MySqlConnector.MySqlException : Table 'o' is specified twice, both as a target for 'DELETE' and as a separate source for data

Check failure on line 520 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_Where_optional_navigation_predicate(async: False)

MySqlConnector.MySqlException : Table 'o' is specified twice, both as a target for 'DELETE' and as a separate source for data

Check failure on line 520 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_Where_optional_navigation_predicate(async: True)

MySqlConnector.MySqlException : Table 'o' is specified twice, both as a target for 'DELETE' and as a separate source for data

Check failure on line 520 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_Where_optional_navigation_predicate(async: False)

MySqlConnector.MySqlException : Table 'o' is specified twice, both as a target for 'DELETE' and as a separate source for data

Check failure on line 520 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_Where_optional_navigation_predicate(async: True)

MySqlConnector.MySqlException : Table 'o' is specified twice, both as a target for 'DELETE' and as a separate source for data

Check failure on line 520 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_Where_optional_navigation_predicate(async: False)

MySqlConnector.MySqlException : Table 'o' is specified twice, both as a target for 'DELETE' and as a separate source for data

Check failure on line 520 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_Where_optional_navigation_predicate(async: True)

MySqlConnector.MySqlException : Table 'o' is specified twice, both as a target for 'DELETE' and as a separate source for data

Check failure on line 520 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_Where_optional_navigation_predicate(async: False)

MySqlConnector.MySqlException : Table 'o' is specified twice, both as a target for 'DELETE' and as a separate source for data

Check failure on line 520 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_Where_optional_navigation_predicate(async: True)

MySqlConnector.MySqlException : Table 'o' is specified twice, both as a target for 'DELETE' and as a separate source for data

Check failure on line 520 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_Where_optional_navigation_predicate(async: False)

MySqlConnector.MySqlException : Table 'o' is specified twice, both as a target for 'DELETE' and as a separate source for data

Check failure on line 520 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_Where_optional_navigation_predicate(async: True)

MySqlConnector.MySqlException : Table 'o' is specified twice, both as a target for 'DELETE' and as a separate source for data

Check failure on line 520 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_Where_optional_navigation_predicate(async: False)

MySqlConnector.MySqlException : Table 'o' is specified twice, both as a target for 'DELETE' and as a separate source for data

Check failure on line 520 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_Where_optional_navigation_predicate(async: True)

MySqlConnector.MySqlException : Table 'o' is specified twice, both as a target for 'DELETE' and as a separate source for data

Check failure on line 520 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_Where_optional_navigation_predicate(async: False)

MySqlConnector.MySqlException : Table 'o' is specified twice, both as a target for 'DELETE' and as a separate source for data

Check failure on line 520 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_Where_optional_navigation_predicate(async: True)

MySqlConnector.MySqlException : Table 'o' is specified twice, both as a target for 'DELETE' and as a separate source for data

Check failure on line 520 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_Where_optional_navigation_predicate(async: False)

MySqlConnector.MySqlException : Table 'o' is specified twice, both as a target for 'DELETE' and as a separate source for data

Check failure on line 520 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_Where_optional_navigation_predicate(async: True)

MySqlConnector.MySqlException : Table 'o' is specified twice, both as a target for 'DELETE' and as a separate source for data

Check failure on line 520 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_Where_optional_navigation_predicate(async: False)

MySqlConnector.MySqlException : Table 'o' is specified twice, both as a target for 'DELETE' and as a separate source for data

Check failure on line 520 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_Where_optional_navigation_predicate(async: True)

MySqlConnector.MySqlException : Table 'o' is specified twice, both as a target for 'DELETE' and as a separate source for data

Check failure on line 520 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_Where_optional_navigation_predicate(async: False)

MySqlConnector.MySqlException : Table 'o' is specified twice, both as a target for 'DELETE' and as a separate source for data

Check failure on line 520 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_Where_optional_navigation_predicate(async: True)

MySqlConnector.MySqlException : Table 'o' is specified twice, both as a target for 'DELETE' and as a separate source for data

Check failure on line 520 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_Where_optional_navigation_predicate(async: False)

MySqlConnector.MySqlException : Table 'o' is specified twice, both as a target for 'DELETE' and as a separate source for data

Check failure on line 520 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_Where_optional_navigation_predicate(async: True)

MySqlConnector.MySqlException : Table 'o' is specified twice, both as a target for 'DELETE' and as a separate source for data

Check failure on line 520 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_Where_optional_navigation_predicate(async: False)

MySqlConnector.MySqlException : Table 'o' is specified twice, both as a target for 'DELETE' and as a separate source for data

Check failure on line 520 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_Where_optional_navigation_predicate(async: True)

MySqlConnector.MySqlException : Table 'o' is specified twice, both as a target for 'DELETE' and as a separate source for data

Check failure on line 520 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_Where_optional_navigation_predicate(async: False)

MySqlConnector.MySqlException : Table 'o' is specified twice, both as a target for 'DELETE' and as a separate source for data

Check failure on line 520 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_Where_optional_navigation_predicate(async: True)

MySqlConnector.MySqlException : Table 'o' is specified twice, both as a target for 'DELETE' and as a separate source for data

Check failure on line 520 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_Where_optional_navigation_predicate(async: False)

MySqlConnector.MySqlException : Table 'o' is specified twice, both as a target for 'DELETE' and as a separate source for data

Check failure on line 520 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_Where_optional_navigation_predicate(async: True)

MySqlConnector.MySqlException : Table 'o' is specified twice, both as a target for 'DELETE' and as a separate source for data

Check failure on line 520 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_Where_optional_navigation_predicate(async: False)

MySqlConnector.MySqlException : Table 'o' is specified twice, both as a target for 'DELETE' and as a separate source for data
AssertSql(
"""
DELETE `o`
Expand Down Expand Up @@ -554,9 +554,39 @@

public override async Task Delete_with_LeftJoin(bool async)
{
await base.Delete_with_LeftJoin(async);
if (!AppConfig.ServerVersion.Supports.DeleteWithSelfReferencingSubquery)
{
// 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_with_LeftJoin(async));

AssertSql(
AssertSql(
"""
@p0='100'
@p='0'

DELETE `o`
FROM `Order Details` AS `o`
WHERE EXISTS (
SELECT 1
FROM `Order Details` AS `o0`
LEFT JOIN (
SELECT `o2`.`OrderID`
FROM `Orders` AS `o2`
WHERE `o2`.`OrderID` < 10300
ORDER BY `o2`.`OrderID`
LIMIT @p0 OFFSET @p
) AS `o1` ON `o0`.`OrderID` = `o1`.`OrderID`
WHERE (`o0`.`OrderID` < 10276) AND ((`o0`.`OrderID` = `o`.`OrderID`) AND (`o0`.`ProductID` = `o`.`ProductID`)))
""");
}
else
{
// Works as expected in MariaDB 11+.
await base.Delete_with_LeftJoin(async);

AssertSql(
"""
@p0='100'
@p='0'
Expand All @@ -575,11 +605,12 @@
) AS `o1` ON `o0`.`OrderID` = `o1`.`OrderID`
WHERE (`o0`.`OrderID` < 10276) AND ((`o0`.`OrderID` = `o`.`OrderID`) AND (`o0`.`ProductID` = `o`.`ProductID`)))
""");
}
}

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

Check failure on line 613 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_join(async: False)

MySqlConnector.MySqlException : Table 'o' is specified twice, both as a target for 'DELETE' and as a separate source for data

Check failure on line 613 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_join(async: True)

MySqlConnector.MySqlException : Table 'o' is specified twice, both as a target for 'DELETE' and as a separate source for data

Check failure on line 613 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_join(async: False)

MySqlConnector.MySqlException : Table 'o' is specified twice, both as a target for 'DELETE' and as a separate source for data

Check failure on line 613 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_join(async: True)

MySqlConnector.MySqlException : Table 'o' is specified twice, both as a target for 'DELETE' and as a separate source for data

Check failure on line 613 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_join(async: False)

MySqlConnector.MySqlException : Table 'o' is specified twice, both as a target for 'DELETE' and as a separate source for data

Check failure on line 613 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_join(async: True)

MySqlConnector.MySqlException : Table 'o' is specified twice, both as a target for 'DELETE' and as a separate source for data

Check failure on line 613 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_join(async: False)

MySqlConnector.MySqlException : Table 'o' is specified twice, both as a target for 'DELETE' and as a separate source for data

Check failure on line 613 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_join(async: True)

MySqlConnector.MySqlException : Table 'o' is specified twice, both as a target for 'DELETE' and as a separate source for data

AssertSql(
"""
Expand Down Expand Up @@ -989,7 +1020,7 @@
}
else
{
// Works as expected in MariaDB.
// Works as expected in MariaDB (all versions).
await base.Update_Where_GroupBy_First_set_constant_3(async);

AssertExecuteUpdateSql(
Expand Down Expand Up @@ -1555,14 +1586,25 @@

public override async Task Delete_with_LeftJoin_via_flattened_GroupJoin(bool async)
{
await base.Delete_with_LeftJoin_via_flattened_GroupJoin(async);
if (!AppConfig.ServerVersion.Supports.DeleteWithSelfReferencingSubquery)
{
// 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_with_LeftJoin_via_flattened_GroupJoin(async));
}
else
{
// Works as expected in MariaDB 11+.
await base.Delete_with_LeftJoin_via_flattened_GroupJoin(async);
}

// Note: SQL validation skipped - actual SQL needs to be captured from test run
}

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

Check failure on line 1607 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_RightJoin(async: True)

MySqlConnector.MySqlException : Table 'o' is specified twice, both as a target for 'DELETE' and as a separate source for data

Check failure on line 1607 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_RightJoin(async: False)

MySqlConnector.MySqlException : Table 'o' is specified twice, both as a target for 'DELETE' and as a separate source for data

Check failure on line 1607 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_RightJoin(async: True)

MySqlConnector.MySqlException : Table 'o' is specified twice, both as a target for 'DELETE' and as a separate source for data

Check failure on line 1607 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_RightJoin(async: False)

MySqlConnector.MySqlException : Table 'o' is specified twice, both as a target for 'DELETE' and as a separate source for data

Check failure on line 1607 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_RightJoin(async: True)

MySqlConnector.MySqlException : Table 'o' is specified twice, both as a target for 'DELETE' and as a separate source for data

Check failure on line 1607 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_RightJoin(async: False)

MySqlConnector.MySqlException : Table 'o' is specified twice, both as a target for 'DELETE' and as a separate source for data

Check failure on line 1607 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_RightJoin(async: True)

MySqlConnector.MySqlException : Table 'o' is specified twice, both as a target for 'DELETE' and as a separate source for data

Check failure on line 1607 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_RightJoin(async: False)

MySqlConnector.MySqlException : Table 'o' is specified twice, both as a target for 'DELETE' and as a separate source for data

Check failure on line 1607 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_RightJoin(async: True)

MySqlConnector.MySqlException : Table 'o' is specified twice, both as a target for 'DELETE' and as a separate source for data

Check failure on line 1607 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_RightJoin(async: False)

MySqlConnector.MySqlException : Table 'o' is specified twice, both as a target for 'DELETE' and as a separate source for data

Check failure on line 1607 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_RightJoin(async: True)

MySqlConnector.MySqlException : Table 'o' is specified twice, both as a target for 'DELETE' and as a separate source for data

Check failure on line 1607 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_RightJoin(async: False)

MySqlConnector.MySqlException : Table 'o' is specified twice, both as a target for 'DELETE' and as a separate source for data

Check failure on line 1607 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_RightJoin(async: False)

MySqlConnector.MySqlException : Table 'o' is specified twice, both as a target for 'DELETE' and as a separate source for data

Check failure on line 1607 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_RightJoin(async: True)

MySqlConnector.MySqlException : Table 'o' is specified twice, both as a target for 'DELETE' and as a separate source for data

Check failure on line 1607 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_RightJoin(async: False)

MySqlConnector.MySqlException : Table 'o' is specified twice, both as a target for 'DELETE' and as a separate source for data

Check failure on line 1607 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_RightJoin(async: True)

MySqlConnector.MySqlException : Table 'o' is specified twice, both as a target for 'DELETE' and as a separate source for data

Check failure on line 1607 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_RightJoin(async: False)

MySqlConnector.MySqlException : Table 'o' is specified twice, both as a target for 'DELETE' and as a separate source for data

Check failure on line 1607 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_RightJoin(async: True)

MySqlConnector.MySqlException : Table 'o' is specified twice, both as a target for 'DELETE' and as a separate source for data

Check failure on line 1607 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_RightJoin(async: False)

MySqlConnector.MySqlException : Table 'o' is specified twice, both as a target for 'DELETE' and as a separate source for data

// Note: SQL validation skipped - actual SQL needs to be captured from test run
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -94,8 +94,7 @@ public override async Task Delete_GroupBy_Where_Select_First_2(bool async)

public override async Task Delete_GroupBy_Where_Select_First_3(bool async)
{
if (AppConfig.ServerVersion.Type == ServerType.MariaDb &&
AppConfig.ServerVersion.Version >= new Version(11, 1))
if (AppConfig.ServerVersion.Supports.DeleteWithSelfReferencingSubquery)
{
await base.Delete_GroupBy_Where_Select_First_3(async);

Expand All @@ -118,7 +117,7 @@ HAVING COUNT(*) < 3
}
else
{
// Not supported by MySQL:
// Not supported by MySQL and older MariaDB versions:
// Error Code: 1093. You can't specify target table 'c' for update in FROM clause
await Assert.ThrowsAsync<MySqlException>(
() => base.Delete_GroupBy_Where_Select_First_3(async));
Expand Down
Loading