File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
test/EFCore.MySql.FunctionalTests/BulkUpdates Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -1011,16 +1011,16 @@ public override async Task Update_Where_GroupBy_First_set_constant_2(bool async)
10111011
10121012 public override async Task Update_Where_GroupBy_First_set_constant_3 ( bool async )
10131013 {
1014- if ( ! AppConfig . ServerVersion . Supports . DeleteWithSelfReferencingSubquery )
1014+ if ( AppConfig . ServerVersion . Type == ServerType . MySql )
10151015 {
1016- // Not supported by MySQL and older MariaDB versions :
1016+ // Not supported by MySQL:
10171017 // Error Code: 1093. You can't specify target table 'c' for update in FROM clause
10181018 await Assert . ThrowsAsync < MySqlException > (
10191019 ( ) => base . Update_Where_GroupBy_First_set_constant_3 ( async) ) ;
10201020 }
10211021 else
10221022 {
1023- // Works as expected in MariaDB 11+ .
1023+ // Works as expected in MariaDB (all versions) .
10241024 await base . Update_Where_GroupBy_First_set_constant_3 ( async) ;
10251025
10261026 AssertExecuteUpdateSql (
You can’t perform that action at this time.
0 commit comments